xray.DataArray.isel

DataArray.isel(**indexers)

Return a new DataArray whose dataset is given by integer indexing along the specified dimension(s).