groupby() cumsum() with 4 columns

后端 未结 0 648
说谎
说谎 2021-02-06 00:49

What is the correct syntax for this code:

db_deals.groupby([\'client_id\', \'acc_number\'])[[\'swap\',\'profit\']].cumsum()

I want to sum the cum

相关标签:
回答
  • 消灭零回复
提交回复
热议问题