How can I write a CSV file in Python with comma as a decimal separator? This problem looks simple, but I've been spending many hours today and can't solve it (googleing, search here in stackoverflow...).
This doesn't work:
file.to_csv('file.csv', index = False, sep = ";", float_format = ",")
In output csv still have ".".
Thank you for your answer.