scipp.transpose#

scipp.transpose(x, dims=None)#

Transpose dimensions of the input.

Parameters:
Returns:

Same type as input – The transpose of the input.

Raises:

scipp.DimensionError – If dims are incompatible with the input data.