xarray.core.coordinates.DataArrayCoordinates
xarray.core.coordinates.DataArrayCoordinates#
- class xarray.core.coordinates.DataArrayCoordinates(dataarray)[source]#
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.
Methods
__init__
(dataarray)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
Mapping from coordinate names to dtypes.
xindexes