xarray.core.coordinates.DatasetCoordinates¶
-
class
xarray.core.coordinates.DatasetCoordinates(dataset)¶ 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.
-
__init__(dataset)¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__(dataset)Initialize self.
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
-