How to substract columns in pandas df based on condition

后端 未结 0 1636
情书的邮戳
情书的邮戳 2021-02-05 19:32

I have a dataset which looks like this. In my new dataset, I want to subtract the amount column(s) with principal column(s) and remainder(s) column.

For instance, if the

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