title: Concatenating all list values to an array in python
body: <p>I would like to concatenate all numpy arrays (all same size) in a python dict to a new array.</p>
  
  <pre><code>dict = {'some_key_1':np.array([1,2,3,4]), 'some_key_2':np.array([2,3,4,5]), ...}
  </code></pre>
  
  <p>the result that I would like to see is:</p>
  
  <pre><code>result = np.array([[1,2,3,4],[2,3,4,5]])
  </code></pre>
  
  <p>whats the best way to do that?</p>
  
  <p>Edit: Solution seems to be slightly different for python 2 and 3. The accepted answer solves it for python 3.</p>