MCPcopy Create free account
hub / github.com/pydata/xarray / _oindex_get

Method _oindex_get

xarray/core/indexing.py:981–982  ·  view source on GitHub ↗
(self, indexer: OuterIndexer)

Source from the content-addressed store, hash-verified

979 return duck_array
980
981 def _oindex_get(self, indexer: OuterIndexer):
982 return type(self)(_wrap_numpy_scalars(self.array.oindex[indexer]))
983
984 def _vindex_get(self, indexer: VectorizedIndexer):
985 return type(self)(_wrap_numpy_scalars(self.array.vindex[indexer]))

Callers

nothing calls this directly

Calls 2

typeFunction · 0.85
_wrap_numpy_scalarsFunction · 0.85

Tested by

no test coverage detected