-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Added greedy option for skipEmptyLines to handle blank lines an… (
#932) Description: The skipEmptyLines option in Papa Parse was previously set to true, which only skips fully blank lines. However, lines containing just commas (e.g., ,,,,, ,,,,,) were not being handled correctly and would still be parsed as valid, non-empty lines, causing issues in CSV parsing and was causing empty records. Changes Made: Added the 'greedy' option to the skipEmptyLines configuration. This update ensures that both blank lines and lines containing only commas (e.g., ,,,,, ,,,,,) are treated as empty and skipped during parsing, improving how CSV files are handled.
- Loading branch information
Showing
3 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters