xarray.Variable.to_coord

Variable.to_coord()

to_coord has been deprecated. Use to_index_variable instead.