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

Method __init__

xarray/core/indexing.py:678–680  ·  view source on GitHub ↗
(self, array, indexer_cls: type[ExplicitIndexer] = BasicIndexer)

Source from the content-addressed store, hash-verified

676 __slots__ = ("array", "indexer_cls")
677
678 def __init__(self, array, indexer_cls: type[ExplicitIndexer] = BasicIndexer):
679 self.array = as_indexable(array)
680 self.indexer_cls = indexer_cls
681
682 def __array__(
683 self, dtype: DTypeLike | None = None, /, *, copy: bool | None = None

Callers

nothing calls this directly

Calls 1

as_indexableFunction · 0.90

Tested by

no test coverage detected