xarray.core.coordinates.DatasetCoordinates#
- class xarray.core.coordinates.DatasetCoordinates(dataset)[source]#
Dictionary like container for Dataset coordinates.
Essentially an immutable dictionary with keys given by the array’s dimensions and the values given by the corresponding xarray.Coordinate objects.
Methods
__init__
(dataset)get
(k[,d])items
()keys
()merge
(other)Merge two sets of coordinates to create a new Dataset
Convert these coordinates into a new Dataset
to_index
([ordered_dims])Convert all index coordinates into a
pandas.Index
.update
(other)values
()Attributes
Mapping from coordinate names to dtypes.
xindexes