title: Looking to loop over difference numpy array slicings
body: <p>I have a multi dimensional numpy array where i am looking to take different slicings from like this:</p>
  <pre><code>A=Array[1,:,:,:,:]
  B=Array[:,1,:,:,:]
  C=Array[:,:,1,:,:]
  D=Array[:,:,:,1,:]
  E=Array[:,:,:,:,1]
  </code></pre>
  <p>I then need to process these in the exact same way so i thought about doing it in a simple loop.
  However i do not know how to do this.</p>
  <p>I thought about list comprehension like:</p>
  <pre><code>for i in range(5):
     Sliced=Array[1 if x==i else : for x in range(5)]
  </code></pre>
  <p>but this obviously does not work.</p>