I've written a csv file with the .to_csv
function. This worked fine but when I open the csv file in excel, excel doesn't recognise the decimal placement.
For example:
A number that was supposed to be 100611.52421..
is displayed in Excel as 1006115242123330
. I know nothing went wrong with writing the file because when I display the csv file in visual studio code I can see the dot.
Does anyone know how I can properly open the csv file?
Thanks in advance
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.