NumPy

Previous topic

numpy.ma.MaskedArray.squeeze

Next topic

numpy.ma.MaskedArray.transpose

numpy.ma.MaskedArray.swapaxes

method

MaskedArray.swapaxes(axis1, axis2)[source]

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

Refer to numpy.swapaxes for full documentation.

See also

numpy.swapaxes

equivalent function