xarray.Variable.to_index

Variable.to_index()

Convert this variable to a pandas.Index