Skip to content

Conversation

@Kevin-Patyk
Copy link
Contributor

@orlp

Resolves: #21514.

@Kevin-Patyk Kevin-Patyk changed the title feat: Add binary slicing functionality feat(rust,python): Add bin.slice(), bin.head(), and bin.tail() methods Dec 5, 2025
@github-actions github-actions bot added enhancement New feature or an improvement of an existing feature python Related to Python Polars rust Related to Rust Polars and removed title needs formatting labels Dec 5, 2025
@github-actions github-actions bot added the changes-dsl Do not merge if this label is present and red label Dec 5, 2025
@codecov
Copy link

codecov bot commented Dec 5, 2025

Codecov Report

❌ Patch coverage is 84.25532% with 37 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.50%. Comparing base (4742c6a) to head (e8d02eb).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
...rates/polars-ops/src/chunked_array/binary/slice.rs 78.76% 31 Missing ⚠️
crates/polars-plan/src/dsl/function_expr/binary.rs 0.00% 3 Missing ⚠️
...olars-plan/src/plans/aexpr/function_expr/binary.rs 40.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #25647      +/-   ##
==========================================
+ Coverage   79.35%   79.50%   +0.14%     
==========================================
  Files        1743     1744       +1     
  Lines      240295   240676     +381     
  Branches     3038     3038              
==========================================
+ Hits       190683   191341     +658     
+ Misses      48830    48553     -277     
  Partials      782      782              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changes-dsl Do not merge if this label is present and red enhancement New feature or an improvement of an existing feature python Related to Python Polars rust Related to Rust Polars

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add binary string slicing

1 participant