Returns a new DataArray with renamed variables.
If the argument is dict-like, it it used as a mapping from old names to new names for dataset variables. Otherwise, use the argument as the new name for this array.
See also
Dataset.rename