Skip to content

REG: dont call func on empty input #32121

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

Merged
merged 4 commits into from
Feb 21, 2020
Merged

Conversation

jbrockmendel
Copy link
Member

@jbrockmendel jbrockmendel commented Feb 19, 2020

Could use confirmation from OP that this does in fact close #31760.

@jbrockmendel jbrockmendel added the Regression Functionality that used to work in a prior pandas version label Feb 19, 2020
@jbrockmendel jbrockmendel added this to the 1.0.2 milestone Feb 19, 2020
Copy link
Member

@WillAyd WillAyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jreback jreback merged commit c0066f3 into pandas-dev:master Feb 21, 2020
@jreback
Copy link
Contributor

jreback commented Feb 21, 2020

thanks @jbrockmendel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Groupby Regression Functionality that used to work in a prior pandas version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

groupby().agg() calls the user function for an extra time with empty inputs in 1.0.0
4 participants