title: Python dictionary.values() to numpy array
body: <p>Say I have a dict using python 3:</p>
  
  <pre><code>d = {'w1': np.array([12,11,23]), 'w2':np.array([1,2,3])}
  </code></pre>
  
  <p>and some variable with an integer say </p>
  
  <pre><code>a=12
  </code></pre>
  
  <p>How do I turn the dict values and integer into one numpy array so that it looks like this?</p>
  
  <pre><code>array([12, array([12, 11, 23]), array([1, 2, 3])])
  </code></pre>
  
  <p>I've tried:</p>
  
  <pre><code>np.array([a,(list(d.values()))],dtype=object)
  </code></pre>
  
  <p>and I get:</p>
  
  <pre><code>array([12, list([array([12, 11, 23]), array([1, 2, 3])])], dtype=object)
  </code></pre>
  
  <p>but I don't want the list in the second index, I want it to be "unpacked".</p>