-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-9917: [Python][Compute] Bindings for mode kernel #8115
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
Conversation
jorisvandenbossche
left a comment
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.
Thanks!
python/pyarrow/array.pxi
Outdated
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.
I am not sure we necessarily want to add it as a Array method as well. For a starter, it's also not a method on a numpy array (so convenient consistency with numpy is already not an argument). In general we don't expose all compute functions also as methods (but currently the line is not very clear ... )
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.
Agreed with @jorisvandenbossche .
python/pyarrow/tests/test_compute.py
Outdated
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 don't need to test multiple types and values agggressively, since that it already done on the C++ side. Mostly we should check that the Python wrapper has the expected API and return type.
jorisvandenbossche
left a comment
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.
Thanks for the update!
|
thanks @jorisvandenbossche @pitrou for reviewing! |
No description provided.