parameters: (self)
docstring: dict {group name -> group labels}
docstring_summary: dict {group name -> group labels}
docstring_tokens: dict { group name - > group labels }
function: def groups(self):
          """ dict {group name -> group labels} """
          if len(self.groupings) == 1:
              return self.groupings[0].groups
          else:
              to_groupby = zip(*(ping.grouper for ping in self.groupings))
              to_groupby = Index(to_groupby)
              return self.axis.groupby(to_groupby)
function_tokens: def groups ( self ) : if len ( self . groupings ) == 1 : return self . groupings [ 0 ] . groups else : to_groupby = zip ( * ( ping . grouper for ping in self . groupings ) ) to_groupby = Index ( to_groupby ) return self . axis . groupby ( to_groupby )