-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Empty/full whitespace value gets converted to null in CSV parser if it is in the first column #12832
Comments
This is not limited to tab-separated values, the same happens for CSV with commas as well. |
Maybe this will help: |
Seems I should fallback to pandas |
@lizdeika Pull requests are welcome! |
Not able to reproduce using polars 0.20.6 anymore; |
Checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of Polars.
Reproducible example
Log output
Issue description
Simple TSV file that has 4th and last rows' first column value as SPACE character
Those spaces get converted to nulls.
No problem for columns that are not first.
Expected behavior
Space is Space, not null
Installed versions
The text was updated successfully, but these errors were encountered: