Getting rid of extra spaces I have in different rows of a column in datafram

前端 未结 0 1918
遥遥无期
遥遥无期 2020-12-12 09:59

I am trying to iterate through the rows of my column (item_2) and get rid of the extra spaces each row has. By using " ".join(x.split()) But I get AttributeError:

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