I have a NumPy array with shape(370,275,210) and I want to re-shape it to (275,210,370). How would I achieve this in Python? 370 is the number of bands,275 is the number of rows
Actually, I suppose that you need to swap the axis 0 with 2.
np.swapaxes(x, 0, 2)
That is probably an hyperspectral image?