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.

__init__(dataarray)[source]#

Methods

__init__(dataarray)

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)

values()

Attributes

dims

dtypes

Mapping from coordinate names to dtypes.

indexes

variables

xindexes