pandas groupby: how to get a union of strings,df.groupby('A')['C'].apply(lambda x: x.sum())