Returns a new DataArray with renamed coordinates and/or a new name.
new_name_or_name_dict : str or dict-like
If the argument is dict-like, it it used as a mapping from old names to new names for coordinates (and/or this array itself). Otherwise, use the argument as the new name for this array.
renamed : DataArray
Renamed array or array with renamed coordinates.