You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm parsing a csv but during the loop the field is messed up after 539 rows. I think it could be some " character because some times they don't come in pairs due to errors in the source file.
I tried removing fast mode and specify the delimiter but without success:
Probably the same issue as in #1057
Try setting the quoteChar to something different than " (which is the default).
Quotes (the quoteChar) are used to quote the entire field, not just parts of it.
I'm parsing a csv but during the loop the field is messed up after 539 rows. I think it could be some " character because some times they don't come in pairs due to errors in the source file.
I tried removing fast mode and specify the delimiter but without success:
const result = await fetch(Customers, {
headers: { "content-type": "text/csv;charset=UTF-8" },
});
const fileContent = await result.text();
let parsedCsvCstomers = Papa.parse(fileContent, {delimiter:"|", header: true, fastMode: false, skipEmptyLines: true})
The text was updated successfully, but these errors were encountered: