numpy.ma.swapaxes

numpy.ma.swapaxes(self, *args, **params) a.swapaxes(axis1, axis2) = <numpy.ma.core._frommethod object>

Return a view of the array with axis1 and axis2 interchanged.

Refer to numpy.swapaxes for full documentation.

参见

numpy.swapaxes
equivalent function