xarray.IndexVariable.to_dict

IndexVariable.to_dict(data=True)

Dictionary representation of variable.