rename_vars(self, name_dict: Mapping[Hashable, Hashable] = None, **names: Hashable) → 'Dataset'¶
Returns a new object with renamed variables including coordinates
name_dict (dict-like, optional) – Dictionary whose keys are current variable or coordinate names and whose values are the desired names.
optional (**names,) – Keyword form of
name_dict. One of name_dict or names must be provided.
renamed – Dataset with renamed variables including coordinates
- Return type