Return a view of the array with axis1 and axis2 interchanged.
Refer to numpy.swapaxes for full documentation.
See also
numpy.ndarray.transpose
numpy.ndarray.flatten
Enter search terms or a module, class or function name.