Skip to content

REF: Replace args/kwargs in groupby.resample with TimeGrouper arguments #54961

Open
@rhshadrach

Description

@rhshadrach

The args/kwargs to this method are currently documented as:

*args, **kwargs
Possible arguments are how, fill_method, limit, kind and on, and other arguments of TimeGrouper.

I think we should instead have these argument as being keyword arguments to groupby.resample and a test that ensures the arguments to TimeGrouper are a subset of the arguments to this method.

Also, it looks like some of these arguments, how, fill_method, and limit, are entirely ignored? But I haven't checked thoroughly.

cc @mroeschke

Metadata

Metadata

Assignees

No one assigned

    Labels

    GroupbyNeeds DiscussionRequires discussion from core team before further actionRefactorInternal refactoring of codeResampleresample method

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions