-
Notifications
You must be signed in to change notification settings - Fork 548
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
Replace cudf.logical_not with ~ #4669
Conversation
rerun tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple suggestions for conciseness. I recently refactored part of cuDF to remove the use of cudf.logical_not
and used these patterns so I thought they might be worth suggesting.
python/cuml/preprocessing/text/stem/porter_stemmer_utils/porter_stemmer_rules.py
Outdated
Show resolved
Hide resolved
@bdice @beckernick Thanks for your comments! I've addressed them, could you take another look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. I'm not on the cuML codeowners / reviewer list but this should fix the problem with the cudf.logical_not
API removed in cuDF 22.06.
@gpucibot merge |
Replace `cudf.logical_not` with `~`. Authors: - Andy Adinets (https://github.com/canonizer) Approvers: - Bradley Dice (https://github.com/bdice) - Dante Gama Dessavre (https://github.com/dantegd) URL: rapidsai#4669
Replace `cudf.logical_not` with `~`. Authors: - Andy Adinets (https://github.com/canonizer) Approvers: - Bradley Dice (https://github.com/bdice) - Dante Gama Dessavre (https://github.com/dantegd) URL: rapidsai#4669
Replace
cudf.logical_not
with~
.