pandas groupby without turning grouped by column into index

df.groupby(['col2','col3'], as_index=False).sum()

Leave a Comment