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

fix(python): respect nan_to_null when using multi-thread in pl.from_pandas #16459

Merged
merged 2 commits into from
May 24, 2024

Conversation

messense
Copy link
Contributor

@messense messense commented May 24, 2024

Sorry I don't have the time to write a test case at the moment.

Closes #16453

Copy link

codecov bot commented May 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.44%. Comparing base (ee25cb7) to head (bae1834).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #16459      +/-   ##
==========================================
- Coverage   81.46%   81.44%   -0.02%     
==========================================
  Files        1409     1409              
  Lines      184722   184723       +1     
  Branches     2971     2971              
==========================================
- Hits       150491   150456      -35     
- Misses      33711    33747      +36     
  Partials      520      520              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MarcoGorelli
Copy link
Collaborator

thanks a tonne for reporting and submitting a fix! no worries, I'll add a test

@ritchie46 ritchie46 merged commit 0666d4f into pola-rs:main May 24, 2024
14 checks passed
@messense messense deleted the fix-from_pandas-nan-to-null branch May 24, 2024 11:18
Wouittone pushed a commit to Wouittone/polars that referenced this pull request Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fix python Related to Python Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pl.from_pandas(..., nan_to_null=True) does not convert NaN to Null
3 participants