Parameters ---------- array : array_like Array like object to index. key : VectorizedIndexer
(self, array: duckarray[Any, Any], key: ExplicitIndexer)
| 822 | __slots__ = ("array", "key") |
| 823 | |
| 824 | def __init__(self, array: duckarray[Any, Any], key: ExplicitIndexer): |
| 825 | """ |
| 826 | Parameters |
| 827 | ---------- |
| 828 | array : array_like |
| 829 | Array like object to index. |
| 830 | key : VectorizedIndexer |
| 831 | """ |
| 832 | if isinstance(key, BasicIndexer | OuterIndexer): |
| 833 | self.key = _outer_to_vectorized_indexer(key, array.shape) |
| 834 | elif isinstance(key, VectorizedIndexer): |
| 835 | self.key = _arrayize_vectorized_indexer(key, array.shape) |
| 836 | self.array = as_indexable(array) |
| 837 | |
| 838 | @property |
| 839 | def shape(self) -> _Shape: |
nothing calls this directly
no test coverage detected