pandas.core.groupby.GroupBy.groups

property GroupBy.groups

Dict {group name -> group labels}.