I have a 3D float numpy array and wish to iterate over the 2D planes in it on a specific axis.
for 2D in 3D:
iterates over the axis 0. So 2D will be 3D[0,:,:] 3D[1,:,:] etc. at each iteration. How can I specify the axis to get 3D[:,:,0] 3D[:,:,1] etc