-
Notifications
You must be signed in to change notification settings - Fork 912
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
Implement replace in pylibcudf #15005
Implement replace in pylibcudf #15005
Conversation
Column source_column, | ||
Scalar lo, | ||
Scalar hi, | ||
Scalar lo_replace=*, |
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.
What does this =*
syntax mean? This doesn't seem like anything I've seen in Python, C++, or Cython before.
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.
This is the standard Cython syntax for default arguments in pxd files. The actual default value must be specified in the implementation (the pyx file) while the declaration just indicates that a default exists so that callers know what valid invocations look like. We have this in a couple of places in our existing Cython like column.pxd and scalar.pxd
/merge |
Description
Contributes to #13921
Checklist