title: Delete Dimension of mutlidimensional array
body: <p>i have an array of shape </p>
  
  <pre><code>(512, 240, 1, 3, 3)
  </code></pre>
  
  <p>How can I get red of the last dimension. Should work with </p>
  
  <pre><code>np.delete
  </code></pre>
  
  <p>but cant figure out how exactly. all the examples are in 2D...</p>
  
  <hr>
  
  <p>I think I misformulated the question. What I looked for was</p>
  
  <pre><code>A = A[:,:,:,0]
  </code></pre>
  
  <p>Sorry</p>