xarray.Dataset.unstack¶
-
Dataset.
unstack
(dim: Union[Hashable, Iterable[Hashable]] = None) → xarray.core.dataset.Dataset¶ Unstack existing dimensions corresponding to MultiIndexes into multiple new dimensions.
New dimensions will be added at the end.
Parameters: dim (Hashable or iterable of Hashable, optional) – Dimension(s) over which to unstack. By default unstacks all MultiIndexes. Returns: unstacked – Dataset with unstacked data. Return type: Dataset See also