Skip to content
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: Add numba engine to groupby.var/std #44862

Merged
merged 3 commits into from
Dec 13, 2021

Conversation

mroeschke
Copy link
Member

  • tests added / passed
  • Ensure all linting tests pass, see here for how to run them
  • whatsnew entry

@jreback jreback added this to the 1.4 milestone Dec 13, 2021
Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

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

thanks @mroeschke followup request

@@ -1272,6 +1272,7 @@ def _numba_agg_general(
func: Callable,
engine_kwargs: dict[str, bool] | None,
numba_cache_key_str: str,
*aggregator_args,
Copy link
Contributor

Choose a reason for hiding this comment

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

why are these not kwargs?

Copy link
Member Author

Choose a reason for hiding this comment

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

Numba functions don't play nice with kwargs currently numba/numba#2916

``compute.use_numba``

.. versionadded:: 1.4.0

Copy link
Contributor

Choose a reason for hiding this comment

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

in a followup can you try to use shared docstrings here (and the other functions) for the engine/engine_kwargs

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure I can try to upstream these doc parameters from rolling too

@jreback jreback merged commit 73b4167 into pandas-dev:master Dec 13, 2021
@mroeschke mroeschke deleted the enh/groupby_var branch December 14, 2021 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants