Relative Content

Tag Archive for pythonpandascharacter-encodingdecodeencode

How to remove encoded characters in a column?

I’m cleaning a dataset and there’s a column named ‘city’ which the city name has encoded characters.
My first try was to use the method decoded, but then I noticed the city names were in string format: