简体   繁体   中英

Cleaning Data using pandas

I am having values like \xc2\xa0Bluestone \xc2\xa0CloudCherry \xc2\xa0Footprints Education in my dataset and i have been trying to remove these using some methods but unable to do so. PLease help out. Till now i have tried: 1.df=df[df['Startup_Name'].='\xc2\xa0Ameyo'] 2.Droping the rows having these values

The C2AO is utf8 for nonbreaking space. Have you tried setting encoding=“utf_8” parameter for read_csv()?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM