react-papaparse is the fastest in-browser CSV (or delimited text) parser for React. It is full of useful features such as CSVReader, CSVDownloader, readString, jsonToCSV, readRemoteFile, ... etc.
Pass data where some rows have less columns than header
[[{"type":"FieldMismatch","code":"TooFewFields","message":"Too few fields: expected 10 fields but parsed 1","row":7}],[{"type":"FieldMismatch","code":"TooFewFields","message":"Too few fields: expected 10 fields but parsed 1","row":8}],[{"type":"FieldMismatch","code":"TooFewFields","message":"Too few fields: expected 10 fields but parsed 1","row":9}],[{"type":"FieldMismatch","code":"TooFewFields","message":"Too few fields: expected 10 fields but parsed 1","row":10}],[{"type":"FieldMismatch","code":"TooFewFields","message":"Too few fields: expected 10 fields but parsed 1","row":11}],[{"type":"FieldMismatch","code":"TooFewFields","message":"Too few fields: expected 10 fields but parsed 1","row":12}],[{"type":"FieldMismatch","code":"TooFewFields","message":"Too few fields: expected 10 fields but parsed 1","row":13}],[{"type":"FieldMismatch","code":"TooFewFields","message":"Too few fields: expected 10 fields but parsed 1","row":14}]]
why each error is packed into a single element array?
see also #128
To reproduce: enable
config={{"header": true}}
Pass data where some rows have less columns than header
why each error is packed into a single element array?