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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(python): fix overly-broad string matching in selectors #9303

Merged
merged 1 commit into from
Jun 9, 2023

Conversation

alexander-beedie
Copy link
Collaborator

@alexander-beedie alexander-beedie commented Jun 8, 2023

Closes #9302.

Python strings also being Collection/Sequences strikes again...馃槗

The contains selector (and potentially starting_with & ending_with, in fewer cases) could match too many cols.

@github-actions github-actions bot added fix Bug fix python Related to Python Polars labels Jun 8, 2023
@ritchie46 ritchie46 merged commit b4d7c34 into pola-rs:main Jun 9, 2023
12 checks passed
@alexander-beedie alexander-beedie deleted the fix-string-selectors branch June 9, 2023 05:52
SeanTroyUWO pushed a commit to SeanTroyUWO/polars that referenced this pull request Jun 20, 2023
c-peters pushed a commit to c-peters/polars that referenced this pull request Jul 14, 2023
@alexander-beedie alexander-beedie added the A-selectors Area: column selectors label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-selectors Area: column selectors fix Bug fix python Related to Python Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug in cs.contains() selector when more than one substring
2 participants