title: numpy select all elements from under array
body: <p>I have an np.array with 3 dimension. I just want to select all n-th element from the last array.</p>
  
  <p>I know that I can select it like </p>
  
  <pre><code>array[:, :, 0]
  </code></pre>
  
  <p>But I need to use a function, is there any numpy function to do that ?</p>