How can I assign first 10 values from one column, to first 10 rows of another column in pandas dataframe?

前端 未结 0 1433
-上瘾入骨i
-上瘾入骨i 2020-12-18 16:15

I have a dataframe with 2 columns. I created a new column and assigned all values as \'N\' to it. Now I want to take top 10 values of column 1, and put that in column 3 (the

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