Skip to content

BUG: Fix 58807 #59243

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 8 commits into from
Jul 15, 2024
Merged

BUG: Fix 58807 #59243

merged 8 commits into from
Jul 15, 2024

Conversation

matiaslindgren
Copy link
Contributor

klass = FrameColumnApply

_, func, _, _ = reconstruct_func(func, **kwargs)
assert func is not None
Copy link
Contributor Author

Choose a reason for hiding this comment

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

reconstruct_func runs assert func is not None before return so it is redundant to do it again here

@mroeschke mroeschke added Error Reporting Incorrect or improved errors from pandas Apply Apply, Aggregate, Transform, Map labels Jul 15, 2024
@mroeschke mroeschke added this to the 3.0 milestone Jul 15, 2024
@mroeschke mroeschke merged commit ed09b58 into pandas-dev:main Jul 15, 2024
45 checks passed
@mroeschke
Copy link
Member

Thanks @matiaslindgren

@matiaslindgren matiaslindgren deleted the fix-58807 branch July 19, 2024 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Apply Apply, Aggregate, Transform, Map Error Reporting Incorrect or improved errors from pandas
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: df.agg with pd.NamedAgg axis=1 unsupported, but errors differently depending on contents of index
2 participants