xarray.IndexVariable.to_dict# IndexVariable.to_dict(data='list', encoding=False)[source]# Return a dictionary representation of the variable.