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: Implement to_arrow functionality properly for Arrays #19077

Merged
merged 4 commits into from
Oct 11, 2024

Conversation

siddharth-vi
Copy link
Contributor

Fixes #18810

Currently there is no special branch to handle to_arrow conversion for Arrays, due to which Array of logical types are not converted properly. This fix implements this branch, similar to the one for Lists.

While converting to pickle, to_arrow is used, hence converting to arrow properly also fixes the above issue.

@github-actions github-actions bot added fix Bug fix python Related to Python Polars rust Related to Rust Polars labels Oct 2, 2024
Copy link

codecov bot commented Oct 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.76%. Comparing base (76d0363) to head (a5ab95b).
Report is 53 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #19077      +/-   ##
==========================================
- Coverage   79.84%   79.76%   -0.09%     
==========================================
  Files        1525     1531       +6     
  Lines      207823   208522     +699     
  Branches     2913     2913              
==========================================
+ Hits       165946   166332     +386     
- Misses      41326    41639     +313     
  Partials      551      551              

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

Copy link
Member

@ritchie46 ritchie46 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thansk you @siddharth-vi

@ritchie46 ritchie46 merged commit b792033 into pola-rs:main Oct 11, 2024
25 checks passed
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 rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

loading pickled pl.Series of dtype=pl.Array(pl.Enum(...), ...) fails
2 participants