pandas.core.groupby.GroupBy.groups

property GroupBy.groups: Dict[Hashable, numpy.ndarray]

Dict {group name -> group labels}.