0

I am trying to make a group by with custom sum.

I have a dataframe with following columns:

date | describe | time | fees

I try to groupby with following order: df.groupby(['date', 'describe', 'time', 'fees'])['fees'].sum()

but I want to sum 'fees' based on 'date' column.

Any Idea to solve that?

Emad Ali
  • 1
  • 2

0 Answers0