{ } Raw JSON

bundles / astropy 7.0.1 / astropy / utils / shapes / NDArrayShapeMethods / swapaxes

function

astropy.utils.shapes:NDArrayShapeMethods.swapaxes

source: /astropy/utils/shapes.py:130

Signature

def swapaxes(self, *args, **kwargs)

Summary

Return an instance with the given axes interchanged.

Extended Summary

Parameters are as for swapaxes: axis1, axis2. All internal data are views of the data of the original.

Aliases

  • astropy.utils.NDArrayShapeMethods.swapaxes