title: Python: In numpy, how do I slice a column from an array without needing reshape?
body: <p>I want to slice a column, but this gives me a one dimensional array. i.e.</p>
  
  <pre><code>import numpy as np
  
  a = np.arange(9).reshape(3,3)
  b = a[1,:]
  
  
  b.shape
  # (3,)
  </code></pre>
  
  <p>But I want it to be 2 dimensional, i.e. (3,1)</p>
  
  <p>Is there a way to do this without reshaping?</p>