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: Only apply string parsing to String dtype #19222

Merged
merged 2 commits into from
Oct 17, 2024

Conversation

balbok0
Copy link
Contributor

@balbok0 balbok0 commented Oct 14, 2024

See #18991 for comment and conclusion. This MR is step 1 of proposed solution.
It is technically breaking, but old version of transform binary -> numerical can be done via binary -(decode)> string -> numerical).

Note that I wasn't sure what was going on with Decimal since it is allowed in string, but not for binary. I removed it, but please let me know if it should be interpreted somehow

@balbok0 balbok0 changed the title fix: Only apply string parsing to String dtype. fix: Only apply string parsing to String dtype Oct 14, 2024
@github-actions github-actions bot added fix Bug fix python Related to Python Polars rust Related to Rust Polars and removed title needs formatting labels Oct 14, 2024
@balbok0 balbok0 force-pushed the remove-binary-to-numerical branch from f626a40 to 24f1921 Compare October 14, 2024 06:35
Copy link

codecov bot commented Oct 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.00%. Comparing base (df8699b) to head (6f8901a).
Report is 25 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #19222      +/-   ##
==========================================
+ Coverage   79.68%   80.00%   +0.32%     
==========================================
  Files        1532     1528       -4     
  Lines      209202   209563     +361     
  Branches     2416     2415       -1     
==========================================
+ Hits       166706   167668     +962     
+ Misses      41948    41347     -601     
  Partials      548      548              

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

@ritchie46 ritchie46 merged commit c1a58de into pola-rs:main Oct 17, 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.

2 participants