When the file tmp.csv just contains the string “INFI_”, the code
using CSV data = CSV.read("tmp.csv",header=false,delim=';'); data
gives the result
│ Row │ Column1 │
│ │ String │
│ 1 │ INFI_ │
which is what I want.
BUT, when the file tmp.csv just contains the strings “INFI”, the code gives the result
Row │ Column1 │
│ Float64 │
│ 1 │ Inf │
That is to say, there is a cast from a string to a float. Thus, INFI seems to be a reserved words. I have the same behaviour by replacing “INFI” with “INF”.
Is there a simple solution to avoid this behaviour ie to keep “INFI” as a string ? Thanks very much.
NB : Note that this new behaviour is obtained with the version CSV v0.5.9 of the CSV package.
With the version CSV v0.4.3 of the CSV package, I do not have this problem.