So, I have this huge DF which encoded in iso8859_15.
I have a few columns which contain names and places in Brazil, so some of them contain special characters such as "í" or "Ô".
I have the key to replace them in a dictionary {'í':'i', 'á':'a', ...}
I tried replacing it a couple of ways (below), but none of them worked.
df.replace(dictionary, regex=True, inplace=True) ###BOTH WITH AND WITHOUT REGEX AND REPLACE
Also:
df.udpate(pd.Series(dic))
None of them had the expected output, which would be for strings such as "NÍCOLAS" to become "NICOLAS".
Help?