arw2019 commented on a change in pull request #8145:
URL: https://github.com/apache/arrow/pull/8145#discussion_r488744627



##########
File path: python/pyarrow/compute.py
##########
@@ -294,6 +294,46 @@ def mode(array):
     return call_function("mode", [array])
 
 
+def and_(x1, x2):

Review comment:
       @jorisvandenbossche @pitrou 
   
   AFAIK we can't have methods named `and` and `or` in Python. For now I went 
with `and_` and `or_` here, for consistency with `and_kleene` and `or_kleene`, 
but for example numpy uses `np.logical_and` and `np.logical_or` 




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to