-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
ENH: numba apply supports positional arguments passed as **kwargs #58995
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
ENH: numba apply supports positional arguments passed as **kwargs #58995
Conversation
8168d9b to
c211119
Compare
|
This pull request is stale because it has been open for thirty days with no activity. Please update and respond to this comment if you're still interested in working on this. |
Please do not mark as stale, this PR is ready for review. |
|
@auderson - can you merge main. |
…into enh_numba_apply_support_kwargs
|
Failures seem unrelated: |
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.
This is looking good to me. A few requests.
|
@lithomas1 - friendly ping. |
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, going to wait on merging a bit longer in case there are other reviews.
|
Also I find there are some methods like |
Co-authored-by: Matthew Roeschke <[email protected]>
Co-authored-by: Matthew Roeschke <[email protected]>
|
Thanks @auderson |
doc/source/whatsnew/vX.X.X.rstfile if fixing a bug or adding a new feature.@lithomas1
This is a followup PR that enhances
prepare_function_argumentsintroduced in #58767.prepare_function_argumentshelps to move**kwargsto*argswhere possible usinginspect.Signature. And now it's also more reasonable to move kwargs check fromget_jit_argumentstoprepare_function_arguments.ref: #58767 (comment)
There are several places where the usage of
get_jit_argumentsis updated andprepare_function_argumentsis added :groupby.agg,groupby.transform,rolling.applyanddf.apply.