numpy.ndarray.swapaxes#
method
- ndarray.swapaxes(axis1, axis2)#
Return a view of the array with axis1 and axis2 interchanged.
Refer to
numpy.swapaxesfor full documentation.See also
numpy.swapaxesequivalent function
Site Navigation
Section Navigation
ndarray)dtype)ufunc)numpy.typing)numpy.distutils)numpy.distutils and migration advicemethod
Return a view of the array with axis1 and axis2 interchanged.
Refer to numpy.swapaxes for full documentation.
See also
numpy.swapaxesequivalent function