code: def group_iter(self):
      for low, upp in self.groupidx:
          yield slice(low, upp)
  
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 2 for calling the GroupSorted obj's underlying member method code with example usage: obj.group_iter() without return types