Trying to understand why iloc cannot be used to assign values to selected multiple columns

后端 未结 0 1095
梦毁少年i
梦毁少年i 2021-02-02 08:02

I have a dataframe with float values, I want to convert few columns as integers. I am trying to use iloc to select and assign values like below

Sample dataframe :

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