Pandas Groupby with lambda gives some NANs

后端 未结 0 1396
猫巷女王i
猫巷女王i 2021-02-06 04:03

I have a DF where I\'d like to create a new column with the difference of 2 other column values.

name    rate    avg_rate

A        10       3
B         6       5         


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