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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]