Closed freesh closed 4 years ago
I'm also having this issue.
My csv looks like this..
CODE,ROOF_SYSTEM_GROUP,ROOF_SYSTEM_NAME,ROOF_SYSTEM
BU,BU,BUR Asphalt,BUR-A
BU,BU,BUR Coal Tar,BUR-C
BU,BU,Inverted Roof Assembly,IRMA
I also had the issue. The root cause was the BOM at the beginning of the csv-file. I resaved the file in normal UTF-8 encoding without BOM and the file could be parsed successfully.
Also see the section in the Readme of the project.
Thx @jasnell that solved the problem. :)
Expected Behavior
Importing CSV file and all keys without single quotes.
Actual Behavior
Importing CSV file. But console.log shows me the first key of each record is wrapped in single quotes.
How Do We Reproduce?
This is my data.csv
This is the code: