xoa.coords.reorder¶
-
xoa.coords.reorder(da, order)[source]¶ Transpose an array to match a given order
- Parameters
da (xarray.DataArray) – Data array to transpose
order (str) – A combination of x, y, z, t, f and - symbols and their upper case value. Letters refer to the dimension type. When the value is -, it may match any dimension type.
- Returns
xarray.DataArray