Skip to content

[Python] Add sort_by method to Array, StructArray and ChunkedArray #30198

Closed as not planned

Description

@asfimport

It would be convenient to be able to sort a StructArray on one of its columns. This can be done by combining multiple compute functions, but having a helper that does that for you would probably be better.

Reporter: Alessandro Molina / @amol-
Assignee: Alessandro Molina / @amol-

PRs and other links:

Note: This issue was originally created as ARROW-14656. Please see the migration documentation for further details.

Activity

  1. asfimport commented on Nov 10, 2021

    @asfimport
    Author

    Antoine Pitrou / @pitrou:
    This would probably be more useful as a C++ addition.

  2. asfimport commented on Nov 10, 2021

    @asfimport
    Author

    Antoine Pitrou / @pitrou:
    Ah, now I see the PR, I understand. I thought you wanted to sort the entire structarray (all the columns).

  3. asfimport commented on Apr 21, 2022

    @asfimport
    Author

    Krisztian Szucs / @kszucs:
    Postponed to 9.0

  4. added this to the 11.0.0 milestone on Jan 11, 2023
  5. removed this from the 11.0.0 milestone on Jan 11, 2023
  6. jorisvandenbossche commented on Mar 22, 2023

    @jorisvandenbossche
    Member

    This was essentially implemented by #14781 (and so a duplicate of #14778), as far as I understand. Thus closing this issue.

  7. jorisvandenbossche commented on Mar 22, 2023

    @jorisvandenbossche
    Member

    Duplicate of #14778

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions