I try to export a dataframe to a csv file by applying the following code line:
df.to_csv('df.csv', sep=';', encoding='latin-1', decimal=',')
Unfortunately I get the following error:
UnicodeEncodeError: 'latin-1' codec can't encode character '\u0131' in position 25: ordinal not in range(256)
How should I change my code? What would be the solution?