ndarray
ndarray.
swapaxes
Return a view of the array withaxis1 andaxis2 interchanged.
Refer tonumpy.swapaxes for full documentation.
numpy.swapaxes
See also
numpy.ndarray.sum
numpy.ndarray.take