spectrochempy.swapdims๏
- swapdims(dim1, dim2, inplace=False)[source]๏
Interchange two dimensions of a NDDataset.
- Parameters:
dim1 (int) โ First axis.
dim2 (int) โ Second axis.
inplace (bool, optional, default=`False`) โ Flag to say that the method return a new object (default) or not (inplace=True).
- Returns:
NDDatasetโ Swaped dataset.
See also
transposeTranspose a dataset.