[
https://issues.apache.org/jira/browse/ARROW-9367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17169239#comment-17169239
]
Athanassios Hatzis commented on ARROW-9367:
-------------------------------------------
[~jorisvandenbossche] thanks for the help, this method is fine if I want to
sort a PyArrow table by one column, what if one wants to sort it by multiple
columns (keys) and how do I specify the order inĀ
pc.call_function("sort_indices", [arr])
> [Python] Sorting on pyarrow data structures ?
> ---------------------------------------------
>
> Key: ARROW-9367
> URL: https://issues.apache.org/jira/browse/ARROW-9367
> Project: Apache Arrow
> Issue Type: Wish
> Components: Python
> Reporter: Athanassios Hatzis
> Priority: Major
> Labels: sort
>
> Hi, I consider sorting a fundamental operation for any in-memory data
> structures, including those of PyArrow.
> It would be nice if pa.array, pa.table, etc had sorting methods but I did not
> find any. One has to pass sorting indices calculated from some other library,
> such as numpy, to sort them. Sorting indices could have been calculated
> directly from PyArrow. Am I missing something here ? That increases
> significantly complexity for the developer.
> Do you have any plans on implementing such a feature in the near future ?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)