Reputation: 107
I want to remove the non-ASCII Character '\xa0' while reading my CSV file using read_csv into a dataframe with python. Can someone tell me how to achieve this?
Upvotes: 0
Views: 1157
Reputation: 131
You can use x = txt.replace(u'\xa0', u'')
for text you're reading.
Upvotes: 1