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 Series constructor failure for Array types for large integers #16050

Merged
merged 1 commit into from
May 5, 2024

Conversation

stinodego
Copy link
Member

@stinodego stinodego commented May 4, 2024

Closes #16033

This should make it take the same path as List types.

@stinodego stinodego changed the title fix: Fix Series constructor failure for Array types for large integers fix(python): Fix Series constructor failure for Array types for large integers May 4, 2024
@github-actions github-actions bot added fix Bug fix python Related to Python Polars rust Related to Rust Polars labels May 4, 2024
@stinodego stinodego removed the rust Related to Rust Polars label May 4, 2024
@stinodego stinodego marked this pull request as draft May 4, 2024 22:22
Copy link

codecov bot commented May 4, 2024

Codecov Report

Attention: Patch coverage is 87.69231% with 8 lines in your changes are missing coverage. Please review.

Project coverage is 80.97%. Comparing base (e17ef46) to head (c010986).

Files Patch % Lines
py-polars/polars/_utils/construction/series.py 87.69% 5 Missing and 3 partials ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main   #16050   +/-   ##
=======================================
  Coverage   80.96%   80.97%           
=======================================
  Files        1386     1386           
  Lines      178385   178385           
  Branches     3060     3060           
=======================================
+ Hits       144438   144441    +3     
+ Misses      33460    33452    -8     
- Partials      487      492    +5     
Flag Coverage Δ
python 74.51% <87.69%> (-0.02%) ⬇️
rust 78.15% <47.69%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@stinodego stinodego marked this pull request as ready for review May 4, 2024 22:54
Comment on lines +165 to +166

if python_dtype is None:
Copy link
Member Author

@stinodego stinodego May 5, 2024

Choose a reason for hiding this comment

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

Drive-by: dedenting this block.

@stinodego stinodego merged commit b57f8ea into main May 5, 2024
15 checks passed
@stinodego stinodego deleted the array-u64-construction branch May 5, 2024 05:40
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.

Cannot create Array column containing large u64 value
1 participant