xarray.IndexVariable.to_dict

IndexVariable.to_dict(self, data=True)

Dictionary representation of variable.