AttributeError: (“'float' object has no attribute 'strip'”, 'occurred at index DIV') in Pandas Data Frame?

后端 未结 0 1533
迷失自我
迷失自我 2020-12-24 03:42

I want to strip the spaces across my pandas data frame . I am using the following code for my data frame d1 .

cols = df1.select_dtypes(object).columns df1[cols] = df1

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