Skip to content

REF/API: make pd.Grouper immutable #51134

Closed
@jbrockmendel

Description

@jbrockmendel

Grouper._set_grouper (called by Grouper._get_grouper) sets some of its own attributes. It would be much easier to reason about this code if this were not the case. An afternoon spent trying to disentangle this has not gotten me very far. This may need a more invasive fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions