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

BUG: Pass index data correctly in groupby.transform/agg w/ engine=numba #43172

Merged
merged 5 commits into from
Aug 27, 2021

Conversation

mroeschke
Copy link
Member

@mroeschke mroeschke added Groupby numba numba-accelerated operations labels Aug 22, 2021
@mroeschke mroeschke added this to the 1.4 milestone Aug 22, 2021
@jreback
Copy link
Contributor

jreback commented Aug 27, 2021

@mroeschke would be ok with backing this to 1.3.x if ok with that (move release note).

@mroeschke mroeschke modified the milestones: 1.4, 1.3.3 Aug 27, 2021
@mroeschke
Copy link
Member Author

Sure moved to 1.3.3

@@ -173,3 +173,17 @@ def sum_last(values, index, n):
result = grouped_x.agg(sum_last, 2, engine="numba")
expected = Series([2.0] * 2, name="x", index=Index([0, 1], name="id"))
tm.assert_series_equal(result, expected)


@td.skip_if_no("numba", "0.46.0")
Copy link
Contributor

Choose a reason for hiding this comment

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

total aside we should move the min supported numba version to 0.46.0

@jreback jreback merged commit cf791c8 into pandas-dev:master Aug 27, 2021
@jreback
Copy link
Contributor

jreback commented Aug 27, 2021

thanks @mroeschke

@jreback
Copy link
Contributor

jreback commented Aug 27, 2021

@meeseeksdev backport 1.3.x

@lumberbot-app
Copy link

lumberbot-app bot commented Aug 27, 2021

Something went wrong ... Please have a look at my logs.

@mroeschke mroeschke deleted the bug/numba_groupby_agg branch August 27, 2021 17:26
simonjayhawkins pushed a commit that referenced this pull request Aug 27, 2021
…rm/agg w/ engine=numba (#43250)

Co-authored-by: Matthew Roeschke <emailformattr@gmail.com>
feefladder pushed a commit to feefladder/pandas that referenced this pull request Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Groupby numba numba-accelerated operations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DataFrameGroupBy.aggregate engine='numba' doesn't pass index
2 participants