I\'m not sure if MRO is the correct term for this but let\'s take the following example:
summary_df = df.groupby([\'provider\', \'master_id\']).agg( conte