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

Add binary string slicing #21514

Open
orlp opened this issue Feb 28, 2025 · 0 comments
Open

Add binary string slicing #21514

orlp opened this issue Feb 28, 2025 · 0 comments
Labels
accepted Ready for implementation enhancement New feature or an improvement of an existing feature P-medium Priority: medium

Comments

@orlp
Copy link
Collaborator

orlp commented Feb 28, 2025

I've noticed we're missing the three following (in my opinion) rather crucial functions on binary strings in Polars:

  • Expr.bin.slice
  • Expr.bin.head
  • Expr.bin.tail

These would have signatures similar to those on Expr.str, but work on bytes rather than codepoints.

@orlp orlp added enhancement New feature or an improvement of an existing feature accepted Ready for implementation labels Feb 28, 2025
@orlp orlp changed the title Add binary string slicing Add binary string slicing & length Feb 28, 2025
@orlp orlp changed the title Add binary string slicing & length Add binary string slicing Feb 28, 2025
@orlp orlp added the P-medium Priority: medium label Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Ready for implementation enhancement New feature or an improvement of an existing feature P-medium Priority: medium
Projects
None yet
Development

No branches or pull requests

1 participant