I'm trying to group by multiple column and aggregate on multiple as well. In sql it would give that:
SELECT A, B, C, COUNT(1), SUM(E), SUM(F) GROUP BY A, B, C
So far i came up with this but it only aggregate on one column:
df.groupby(['A','B','C')['E'].sum()