numpy.ndarray.swapaxes#

method

ndarray.swapaxes(axis1,axis2)#

Return a view of the array withaxis1 andaxis2 interchanged.

Refer tonumpy.swapaxes for full documentation.

See also

numpy.swapaxes

equivalent function

On this page