docstr: Resets the index in-place.
docstr_tok: ["Resets","the","index","in-place","."]
code: def reindex(self, index=None, names=None):
      """
      Resets the index in-place.
      """
      # NOTE: this is not of much use if the rest of the data does not change
      # This needs to reset cache
      if names is None:
          names = self.group_names
      self = Grouping(index, names)
  
imports: from statsmodels.compat.python import lrange, lzip
  import numpy
  import pandas
  import statsmodels.tools.data
  from pandas import Index, MultiIndex
label_desc: Use image node_id 6 for calling the Grouping obj's underlying member method code with example usage: obj.reindex(index, names) without return types