numpy.ndarray.swapaxes#

method

ndarray.swapaxes(axis1, axis2)#

返回一个 axis1axis2 互换的数组视图.

请参考 numpy.swapaxes 的完整文档.

参见

numpy.swapaxes

等效函数