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 2021/11/10 12:12:01 UTC

[GitHub] [arrow] jorisvandenbossche commented on a change in pull request #11659: ARROW-14656: [Python] sort_by helper for StructArray

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



##########
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:
       It seems a bit strange to have this method only on StructArray IMO. Also for other arrays, sorting takes some effort with the current API.




-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org