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): Fix list to numpy conversion #19009

Merged
merged 2 commits into from
Sep 29, 2024
Merged

fix(python): Fix list to numpy conversion #19009

merged 2 commits into from
Sep 29, 2024

Conversation

ritchie46
Copy link
Member

fixes #18986

@github-actions github-actions bot added fix Bug fix python Related to Python Polars labels Sep 29, 2024

// Split the NumPy array into subarrays by offset.
Copy link
Member Author

Choose a reason for hiding this comment

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

This is wrong for 2 reasons. The slicing was incorrect, but it also doesn't include null values and can show masked out values.

Copy link

codecov bot commented Sep 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.86%. Comparing base (570e3a2) to head (5875a59).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #19009      +/-   ##
==========================================
- Coverage   79.88%   79.86%   -0.03%     
==========================================
  Files        1524     1524              
  Lines      207641   207644       +3     
  Branches     2904     2904              
==========================================
- Hits       165883   165828      -55     
- Misses      41211    41269      +58     
  Partials      547      547              

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

@ritchie46 ritchie46 merged commit a9891c5 into main Sep 29, 2024
25 checks passed
@ritchie46 ritchie46 deleted the numpy branch September 29, 2024 16:44
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.

to_numpy returns the same list for all rows
1 participant