human
Grouping dataframes in pandas?
assistant
Here is some code to return values for column `C` after group by on column `A` and `B` in dataframe `df`

df.groupby(['A', 'B'])['C'].unique()

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.