queryverse / CSVFiles.jl

FileIO.jl integration for CSV files
Other
51 stars 13 forks source link

Error loading csv file with moderate length string #101

Closed gbarz closed 1 year ago

gbarz commented 1 year ago

When trying to load a simple CSV file with the function: "CSV.read(testfile, DataFrame")

where testfile is a the following trivial csv:

A,B name, 1.0 longname, 1.0

I receive the following error:

ERROR: MethodError: Cannot convert an object of type Parsers.Result{String15} to an object of type Parsers.Result{Any}

However, when 'longname' is changed to 'name', the CSV.read function works fine.

I am running Julia 1.8.2 and CSV v0.10.4 on an M1 Mac with MacOS 12.6

gbarz commented 1 year ago

Was meant for CSV.jl not CSVFiles.jl