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–2024 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/2.0/reference/generated/numpy.ndarray.swapaxes.html