Open SamTolmay opened 7 months ago
Just had the same issue.
Tried installing the latest branch, but the method doesn't appear to exist/work.
Just had the same issue.
Tried installing the latest branch, but the method doesn't appear to exist/work.
If anyone has an alternative solution, please tell us.
Same goes here.
Just had the same issue.
Tried installing the latest branch, but the method doesn't appear to exist/work.
If anyone has an alternative solution, please tell us.
My current workaround to skip the first 5 lines of the CSV file:
const skipFirstNLines = 5;
const options = {beforeFirstChunk: chunk => [...chunk.split('\n').slice(skipFirstNLines)].join('\n')};
papa.parse("myfile.csv", options);
It looks like the
skipFirstNLines
config option is shown in the documentation, but it is not part of the latest release (5.4.1 as of the time of posting this)