code: def reset_index(self, dims_or_levels, drop=False, inplace=None):
          
          inplace = _check_inplace(inplace)
          variables, coord_names = split_indexes(dims_or_levels, self._variables,
                                                 self._coord_names,
                                                 self._level_coords, drop=drop)
          return self._replace_vars_and_dims(variables, coord_names=coord_names,
                                             inplace=inplace)
docs: Reset the specified index(es) or multi-index level(s).
  
          Parameters
          ----------
          dims_or_levels : str or list
              Name(s) of the dimension(s) and/or multi-index level(s) that will
              be reset.
          drop : bool, optional
              If True, remove the specified indexes and/or multi-index levels
              instead of extracting them as new coordinates (default: False).
          inplace : bool, optional
              If True, modify the dataset in-place. Otherwise, return a new
              Dataset object.
  
          Returns
          -------
          obj : Dataset
              Another dataset, with this dataset's data but replaced coordinates.
  
          See Also
          --------
          Dataset.set_index