You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2020/09/07 14:40:24 UTC

[GitHub] [arrow] pitrou commented on a change in pull request #8115: ARROW-9917: [Python][Compute] Bindings for mode kernel

pitrou commented on a change in pull request #8115:
URL: https://github.com/apache/arrow/pull/8115#discussion_r484470809



##########
File path: python/pyarrow/array.pxi
##########
@@ -802,6 +802,12 @@ cdef class Array(_PandasConvertible):
         """
         return _pc().call_function('sum', [self])
 
+    def mode(self):
+        """
+        Compute the mode of valuesd in a numerical array.
+        """
+        return _pc().call_function('mode', [self])

Review comment:
       Agreed with @jorisvandenbossche .




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