pandas.core.groupby.GroupBy.indices

GroupBy.indices

dict {group name -> group indices}