2024-09-27 00:15:27 发布
网友
excel文件包含印度语数据。正在读取excel文件,但在显示内容时,它会在其间显示\u200d。我需要避免它来做进一步的数据处理。请帮忙
试试这个
s = 'This is some \u200d text that has to be cleaned\u200d! it\u200d annoying!' s.encode('ascii', 'ignore') output : This is some text that has to be cleaned! it annoying!'
试试这个
相关问题 更多 >
编程相关推荐