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

Method _oindex_get

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

Source from the content-addressed store, hash-verified

927 return await self.array.async_get_duck_array()
928
929 def _oindex_get(self, indexer: OuterIndexer):
930 return type(self)(_wrap_numpy_scalars(self.array.oindex[indexer]))
931
932 def _vindex_get(self, indexer: VectorizedIndexer):
933 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