Replacing values in columns of similar rows with conditional value from another column?

后端 未结 0 1640
暗喜
暗喜 2021-01-27 06:35

I have a DataFrame like this.

But I want it to be like this.

So for all rows with the same \'Name\' column value, I want \'Tot\' to have the value from \'Pop\' whe

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