# xarray.core.indexing.BasicIndexer

### *class* xarray.core.indexing.BasicIndexer(key)[[source]](https://github.com/pydata/xarray/blob/main/xarray/core/indexing.py#L480-L506)

Tuple for basic indexing.

All elements should be int or slice objects. Indexing follows NumPy’s
rules for basic indexing: each axis is independently sliced and axes
indexed with an integer are dropped from the result.

#### \_\_init_\_(key)[[source]](https://github.com/pydata/xarray/blob/main/xarray/core/indexing.py#L490-L506)

### Methods

| [`__init__`](#xarray.core.indexing.BasicIndexer.__init__)(key)   |    |
|------------------------------------------------------------------|----|

### Attributes

| `tuple`   |    |
|-----------|----|
