xarray.IndexVariable.to_index#

IndexVariable.to_index()[source]#

Convert this variable to a pandas.Index