pitrou commented on a change in pull request #8145:
URL: https://github.com/apache/arrow/pull/8145#discussion_r488781474
##########
File path: python/pyarrow/compute.py
##########
@@ -294,6 +294,46 @@ def mode(array):
return call_function("mode", [array])
+def and_(x1, x2):
Review comment:
We already have a function named "and":
```python
>>> from pyarrow import compute
>>> getattr(compute, "and")
<function pyarrow.compute.and(left, right, *, memory_pool=None)>
```
So you should just fix `compute.py` so that it's exported as `and_`.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]