I had this problem too. I solved the problem with like this:
`import pandas as pd
df= df.apply(pd.to_numeric, errors='ignore') df.to_csv('df.csv', decimal=',', sep=';')`