On this page
numpy.ndarray.swapaxes
method
ndarray.swapaxes(axis1, axis2)-
Return a view of the array with
axis1andaxis2interchanged.Refer to
numpy.swapaxesfor full documentation.See also
numpy.swapaxes-
equivalent function
© 2005–2021 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.20/reference/generated/numpy.ndarray.swapaxes.html