r,与< u+ 200b>
我从Excel导入了一张桌子。
如果我从环境中打开此表(作为数据框),它看起来不错:
Name Ser_NR
ABC 123
DEF 458
EGS 954
但是,我指出,对于某些行,过滤器函数不起作用。 然后,我将此数据框放到控制台中, 它向我展示了这一点:
Name Ser_NR
ABC 123
DEF 458<U+200B>
EGS 954 <U+200B>
此列的类型“ ser_nr”是字符。 我想要“删除”&lt; u+200b&gt;或将类型更改为普通字符。
谁能帮我吗? 谢谢!
I imported a table from an excel.
If I open this table (as dataframe) from the environment it looks fine:
Name Ser_NR
ABC 123
DEF 458
EGS 954
However, I noted that for some rows, the filter function doesn't work.
Then I put this dataframe into Console,
It shows me this:
Name Ser_NR
ABC 123
DEF 458<U+200B>
EGS 954 <U+200B>
The type of this column "Ser_NR" is character.
I want "remove" <U+200B> or change the type to normal character.
Can anyone help me?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尝试
Try
这是对以下方面的解决方案:
为我们提供:
Here's a solution with regex:
Which gives us: