-
Notifications
You must be signed in to change notification settings - Fork 933
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 string.split APIs to pylibcudf #16940
Add string.split APIs to pylibcudf #16940
Conversation
from cython.operator import dereference | ||
|
||
|
||
cpdef Table partition(Column input, Scalar delimiter): |
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.
Can we add the empty string default value here? We've done it like this so far.
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.
Ah OK. I think I may have missed this default value pattern to match the libcudf default value in my recently pylibcudf PRs. I'll got back in a follow up to try to address this.
return pa_array, plc_column | ||
|
||
|
||
@pytest.fixture |
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.
We might consider parameterizing over None
here as the delimiter as well once the APIs handle the default value
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.
One change otherwise LGTM
/merge |
Description
Contributes to #15162
Includes
split/split.pxd
andsplit/partition.pxd
Checklist