xarray.core.indexing.VectorizedIndexer

xarray.core.indexing.VectorizedIndexer#

class xarray.core.indexing.VectorizedIndexer(key)[source]#

Tuple for vectorized indexing.

All elements should be slice or N-dimensional np.ndarray objects with an integer dtype and the same number of dimensions. Indexing follows proposed rules for np.ndarray.vindex, which matches NumPy’s advanced indexing rules (including broadcasting) except sliced axes are always moved to the end: numpy/numpy#6256

__init__(key)[source]#

Methods

__init__(key)

Attributes

tuple