parameters: (self, data: FrameOrSeries, axis: int = 0)
docstring: Groupby iterator
  
          Returns
          -------
          Generator yielding sequence of (name, subsetted object)
          for each group
docstring_summary: Groupby iterator
docstring_tokens: Groupby iterator
function: def get_iterator(self, data: FrameOrSeries, axis: int = 0):
          """
          Groupby iterator
  
          Returns
          -------
          Generator yielding sequence of (name, subsetted object)
          for each group
          """
          if axis == 0:
              slicer = lambda start, edge: data.iloc[start:edge]
          else:
              slicer = lambda start, edge: data.iloc[:, start:edge]
  
          length = len(data.axes[axis])
  
          start = 0
          for edge, label in zip(self.bins, self.binlabels):
              if label is not NaT:
                  yield label, slicer(start, edge)
              start = edge
  
          if start < length:
              yield self.binlabels[-1], slicer(start, None)
function_tokens: def get_iterator ( self , data : FrameOrSeries , axis : int = 0 ) : if axis == 0 : slicer = lambda start , edge : data . iloc [ start : edge ] else : slicer = lambda start , edge : data . iloc [ : , start : edge ] length = len ( data . axes [ axis ] ) start = 0 for edge , label in zip ( self . bins , self . binlabels ) : if label is not NaT : yield label , slicer ( start , edge ) start = edge if start < length : yield self . binlabels [ - 1 ] , slicer ( start , None )