pandas.core.groupby.GroupBy.groups

GroupBy.groups

dict {group name -> group labels}