# xarray.Index.reindex_like

#### Index.reindex_like(other)[[source]](https://github.com/pydata/xarray/blob/main/xarray/core/indexes.py#L340-L356)

Query the index with another index of the same type.

Implementation is optional but required in order to support alignment.

* **Parameters:**
  **other** ([`Index`](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Index.html#pandas.Index)) – The other Index object used to query this index.
* **Returns:**
  **dim_positional_indexers** ([`dict`](https://docs.python.org/3/builtins/stdtypes.html#dict)) – A dictionary where keys are dimension names and values are positional
  indexers.
