Closed
Description
I have encountered a funny bug when parsing a CSV file. The floating point numbers in that file are specified with a comma ,
instead of dot .
, and this should be a subject of specifying the correct locale. However, it seems that Locale is respected for one column and ignored for the other. For instance, the comma is ignored for the number 68,83
, and the result is 6883
.
CSV file: https://github.com/antonarhipov/kotlin-sandbox/blob/master/energy-consumption.csv
Notebook: https://github.com/antonarhipov/kotlin-sandbox/blob/master/demo.ipynb