numpy.ndarray.swapaxes#

method

ndarray.swapaxes(axis1, axis2)#

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

有关完整文档,请参阅 numpy.swapaxes .

参见

numpy.swapaxes

等效函数