xarray.core.coordinates.DataArrayCoordinates¶
-
class
xarray.core.coordinates.DataArrayCoordinates(dataarray)¶ Dictionary like container for DataArray coordinates.
Essentially a dict with keys given by the array’s dimensions and the values given by corresponding DataArray objects.
-
__init__(self, dataarray: 'DataArray')¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__(self, dataarray)Initialize self.
get(self, key[, default])items(self)keys(self)merge(self, other)Merge two sets of coordinates to create a new Dataset
to_dataset(self)to_index(self, ordered_dims)Convert all index coordinates into a
pandas.Index.update(self, other, Any])values(self)Attributes
-