# xarray.Dataset.get_index

#### Dataset.get_index(key)[[source]](https://github.com/pydata/xarray/blob/main/xarray/core/common.py#L512-L520)

Get an index for a dimension, with fall-back to a default RangeIndex
