MCPcopy Index your code
hub / github.com/pydata/xarray / _updated_key

Method _updated_key

xarray/core/indexing.py:864–865  ·  view source on GitHub ↗
(self, new_key: ExplicitIndexer)

Source from the content-addressed store, hash-verified

862 return _wrap_numpy_scalars(array)
863
864 def _updated_key(self, new_key: ExplicitIndexer):
865 return _combine_indexers(self.key, self.shape, new_key)
866
867 def _oindex_get(self, indexer: OuterIndexer):
868 return type(self)(self.array, self._updated_key(indexer))

Callers 3

_oindex_getMethod · 0.95
_vindex_getMethod · 0.95
__getitem__Method · 0.95

Calls 1

_combine_indexersFunction · 0.85

Tested by

no test coverage detected