Skip to content

ENH: add method parameter to np.unique #30876

@math-hiyoko

Description

@math-hiyoko

Proposed new feature or change:

While hash based np.unique is being introduced, the existing sorting method can win in some situation.
By adding method option ("sort" or "hash") to np.unique, user can switch the method to use.
#30496 (comment)
#30496 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions