title: Slicing a numpy 3-d matrix into 2-d matrix
body: <p>I have a 3d numpy matrix <code>t</code> as follows, generated randomly:</p>
  
  <pre><code>t = np.random.rand(2,2,2)
  array([[[ 0.80351862,  0.25631294],
          [ 0.7971346 ,  0.29468456]],
  
         [[ 0.33771957,  0.91776256],
          [ 0.6018604 ,  0.55290615]]])
  </code></pre>
  
  <p>I want to extract a 2-d matrix such that the result is sliced along the columns of the 3-d matrix. Something like:</p>
  
  <pre><code>array([[ 0.25631294  ,  0.91776256],
         [ 0.29468456,  0.55290615]])
  </code></pre>
  
  <p>How can I slice in such a way?</p>
  
  <p>Thanks for the help.</p>