Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Give the user the ability to disable quoting when reading csv #473

Closed
Tyrest opened this issue Jul 20, 2023 · 0 comments
Closed

[Bug]: Give the user the ability to disable quoting when reading csv #473

Tyrest opened this issue Jul 20, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Tyrest
Copy link
Contributor

Tyrest commented Jul 20, 2023

Describe the bug
Some csv files will have rows that only have one " character, causing issues with reading the dataset. pandas has the option to treat quote characters as regular characters but autolabel does not expose this option to the user in any way.

To Reproduce
Create a new csv with a single quote starting in a row and another single quote ending in a proceeding row. For example:

example label
sure "yes
maybe no"
ok yes

Without the quoting option, autolabel should read this csv as

example label
sure "yes\nmaybe,no"
ok yes

Expected behavior
We should expose this option to the user (probably in the dataset section of the config file) and be able to read csv files that have this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants