xarray.IndexVariable.to_coord

IndexVariable.to_coord(self)

to_coord has been deprecated. Use to_index_variable instead.