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



##########
File path: python/pyarrow/array.pxi
##########
@@ -2360,6 +2360,25 @@ cdef class StructArray(Array):
         result.validate()
         return result
 
+    def sort_by(self, fieldname, order="ascending"):

Review comment:
       This is sorting by a given child field. So it wouldn't make sense on 
other arrays (including unions).




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to