为了账号安全,请及时绑定邮箱和手机立即绑定

csv文件开头的字符串怎么去掉

/ 猿问

csv文件开头的字符串怎么去掉

\ufeff

我先将xlsx文件转化为csv,再用python读取的时候遇到了

https://img1.mukewang.com/5b07a80600016b6606690307.jpg

查看完整描述

2 回答

已采纳
?
大咪

可以直接替换掉。。。对数据清洗:

xxx.replace('\ufeff','')


查看完整回答
反对 回复 2018-05-25
?
慕雪4097207

https://beijingkai.webnode.com

https://shanghaica.webnode.com

https://chongqingci.webnode.com

https://tianjinai.webnode.com

https://sjz4.webnode.com

https://shenyangde.webnode.com

https://dalianye.webnode.com

https://haerbinkai.webnode.com

https://hagnzhouci.webnode.com

https://ningboei.webnode.com

https://fzce.webnode.com

https://xiamensa.webnode.com

https://jinanai.webnode.com

https://qingdaoone.webnode.com

https://guangzhoucai.webnode.com

https://shenzhento.webnode.com

https://dongguance.webnode.com

https://zhongshani.webnode.com

https://foshano.webnode.com

https://chengduni.webnode.com

https://kunmingcu.webnode.com

https://lanzhoubai.webnode.com

https://nanningpui.webnode.com

https://yinchuanoc.webnode.com

https://taiyuantwo.webnode.com

https://changchunbae.webnode.com

https://nanjingkai.webnode.com

https://wuximi.webnode.com

https://suzhoubao.webnode.com

https://xuzhoume.webnode.com

https://changzhoui.webnode.com

https://nantonge.webnode.com

https://hefeikie.webnode.com

https://nanchangni.webnode.com

https://zhengzhouie.webnode.com

https://changshaku.webnode.com

https://haikouou.webnode.com

https://guiyangma.webnode.com

https://xiance.webnode.com

https://xiningi.webnode.com

https://huhehaoteai.webnode.com

https://wulumuqica.webnode.com

https://bjsjsdfa.bandcamp.com/releases

https://ajsdki.bandcamp.com/releases

https://tjsace.bandcamp.com/releases

https://dlecai.bandcamp.com/releases

https://jniouri.bandcamp.com/releases

https://njiusa.bandcamp.com/releases

https://szkdjoe.bandcamp.com/releases

https://hfiuova.bandcamp.com/releases

https://xaxoiue.bandcamp.com/releases

https://zziacenv.bandcamp.com/releases

https://sfjkdie.bandcamp.com/releases

https://csikdea.bandcamp.com/releases

https://gzsico.bandcamp.com/releases

https://szbanemi.bandcamp.com/releases

https://dgxiya.bandcamp.com/releases

https://xmxiou.bandcamp.com/releases

https://hkuice.bandcamp.com/releases

https://syikjjka.bandcamp.com/releases

https://dribbble.com/shots/8503259

https://dribbble.com/shots/8503287

https://dribbble.com/shots/8503305

https://dribbble.com/shots/8503329

https://dribbble.com/shots/8503342

https://dribbble.com/shots/8532345


查看完整回答
反对 回复 2020-01-01

添加回答

回复

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信