-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
REGR: Groupby methods not supporting numba raising TypeError when the… #55586
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
Conversation
… global option is set
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.
Looks good. Curious if groupby transform has this same issue?
Nope, we don't have numba support implemented for transforms. |
pandas/core/groupby/generic.py
Outdated
# (if engine is None, the called function will handle the case where | ||
# numba is requested via the global option) | ||
kwargs["engine"] = engine | ||
kwargs["engine_kwargs"] = engine_kwargs |
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.
If engine is None and engine_kwargs is not None, don't the engine_kwargs end up getting ignored here?
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.
Ah, I see.
The solution would be to always pass engine_kwargs
then?
Since the user has to explicitly do this, then it would be their fault then if they pass in engine_kwargs
to a function that doesn't support it.
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.
As long as engine_kwargs
is not None, yes, that sounds right to me.
Thanks @lithomas1 |
…mba raising TypeError when the…
…ing numba raising TypeError when the…) (#55686) Backport PR #55586: REGR: Groupby methods not supporting numba raising TypeError when the… Co-authored-by: Thomas Li <[email protected]>
… global option is set
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.