xarray.Variable.to_coord

Variable.to_coord(self)

to_coord has been deprecated. Use to_index_variable instead.