MCPcopy
hub / github.com/pydata/xarray / __getitem__

Method __getitem__

xarray/core/coordinates.py:1116–1117  ·  view source on GitHub ↗
(self, key: Hashable)

Source from the content-addressed store, hash-verified

1114 return set(self._data._coords)
1115
1116 def __getitem__(self, key: Hashable) -> T_DataArray:
1117 return self._data._getitem_coord(key)
1118
1119 def _update_coords(
1120 self, coords: dict[Hashable, Variable], indexes: dict[Hashable, Index]

Callers

nothing calls this directly

Calls 1

_getitem_coordMethod · 0.80

Tested by

no test coverage detected