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
If we force quotes, or the row is automatically quoted, comments doesn't work as expected.
Example:
Take this value as the first cell data of a row.
# Comment lines should have the
first column start with "#" to
avoid parsing error
Because of the usage of newline and quotes, the example cell data above is automatically quoted.
With the config: comments: "#", we would expect this row to be ignored, however, it's still included in the parsed output.
I have tried configuring every possible options and variant of newline and delimeter for both unparse (to create a test csvString data) and parse, but I've hit a dead end.
The text was updated successfully, but these errors were encountered:
If we force
quotes
, or the row is automatically quoted, comments doesn't work as expected.Example:
Take this value as the first cell data of a row.
Because of the usage of newline and quotes, the example cell data above is automatically quoted.
With the config:
comments: "#"
, we would expect this row to be ignored, however, it's still included in the parsed output.I have tried configuring every possible options and variant of newline and delimeter for both
unparse
(to create a test csvString data) andparse
, but I've hit a dead end.The text was updated successfully, but these errors were encountered: