Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

python remove accents pandas

In [60]:
df['Country'].str.normalize('NFKD').str.encode('ascii', errors='ignore').str.decode('utf-8')

Out[60]:
0    Aland Islands
1    Aland Islands
2          Albania
3          Albania
4          Albania
Name: Country, dtype: object
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #remove #accents #pandas
ADD COMMENT
Topic
Name
8+8 =