Skip to content

groupby should still squeeze for non-monotonic inputs #1460

Closed
@shoyer

Description

@shoyer

We can simply use argsort() to determine group_indices instead of np.arange():

group_indices = np.arange(group.size)

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