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

Support the case=False argument to str.contains #13290

Merged
merged 2 commits into from
May 10, 2023

Conversation

shwina
Copy link
Contributor

@shwina shwina commented May 4, 2023

Closes #13253

@shwina shwina requested a review from a team as a code owner May 4, 2023 14:48
@shwina shwina requested review from mroeschke and galipremsagar May 4, 2023 14:48
@github-actions github-actions bot added the Python Affects Python cuDF API. label May 4, 2023
self._column, cudf.Scalar(pat, "str")
)
if case is False:
input_column = libstrings.to_lower(self._column)
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: Guessing libstrings doesn't have a casefold-like method right? https://docs.python.org/3/library/stdtypes.html#str.casefold

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@davidwendt is (or was this ever) on our radar?

Copy link
Contributor

Choose a reason for hiding this comment

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

No.

Copy link
Contributor

@mroeschke mroeschke left a comment

Choose a reason for hiding this comment

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

LGTM

@vyasr
Copy link
Contributor

vyasr commented May 10, 2023

Is this PR waiting on anything?

@shwina shwina added feature request New feature or request non-breaking Non-breaking change labels May 10, 2023
@shwina
Copy link
Contributor Author

shwina commented May 10, 2023

/merge

@rapids-bot rapids-bot bot merged commit 6f3f507 into rapidsai:branch-23.06 May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request non-breaking Non-breaking change Python Affects Python cuDF API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEA] Support the case= argument to str.contains(...)
4 participants