-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
CLN: catch less in groupby #29077
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
CLN: catch less in groupby #29077
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm ping on green
# raised directly by _aggregate_multiple_funcs | ||
pass | ||
elif "decimal does not support skipna=True" in str(err): | ||
# FIXME: kludge for DecimalArray tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the end goal of this change?
I don't think we should have special cases in the code for our tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The upcoming fix here is to have DecimalArray._reduce implement support skipna=True
.
A lot of spaghetti code here is driven by the numeric_only behavior that suppresses exceptions.
This is the second place where the DecimalArray case has popped up, will move to fix that before too long.