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__
(dataarray)¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
(dataarray)Initialize self.
get
(k[,d])items
()keys
()merge
(other)Merge two sets of coordinates to create a new Dataset
to_index
([ordered_dims])Convert all index coordinates into a
pandas.Index
.update
(other)values
()Attributes
-