Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Allow passing of args/kwargs to groupby.apply with str func #46481

Merged
merged 3 commits into from
Mar 25, 2022

Conversation

rhshadrach
Copy link
Member

Precursor to #46072, where users doing .groupby(...).apply("sum") may get a warning that would not be able to be silenced without passing numeric_only.

@rhshadrach rhshadrach added Bug Groupby Apply Apply, Aggregate, Transform, Map API - Consistency Internal Consistency of API/Behavior labels Mar 23, 2022
@jreback jreback added this to the 1.5 milestone Mar 25, 2022
@jreback jreback merged commit 258cfcc into pandas-dev:main Mar 25, 2022
@jreback
Copy link
Contributor

jreback commented Mar 25, 2022

thanks @rhshadrach

@rhshadrach rhshadrach deleted the apply_str_with_arg branch March 26, 2022 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API - Consistency Internal Consistency of API/Behavior Apply Apply, Aggregate, Transform, Map Bug Groupby
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: groupby.apply doesn't allow passing args/kwargs with a str func
2 participants