scipp.transpose#

scipp.transpose(x, dims=None)#

Transpose dimensions of a variable, a data array, or a dataset.

Parameters
Raises

If the dtype or unit does not match, or if the dimensions and shapes are incompatible.

Returns

Union[Variable, DataArray, Dataset] – The absolute values of the input.