xarray.core.coordinates.DataArrayCoordinates¶
-
class
xarray.core.coordinates.DataArrayCoordinates(dataarray: 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: 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_dataset()to_index(ordered_dims)Convert all index coordinates into a pandas.Index.update(other, Any])values()Attributes
dimsindexesvariables-