We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Depending on whether I choose engine='jit' or engine='cudf', I get back a DataFrame rather than the expected Series:
engine='jit'
engine='cudf'
DataFrame
Series
In [3]: df = cudf.DataFrame({'a': [1, 1, 1, 2, 2], 'b': [1, 2, 3, 4, 5]}) In [4]: df.groupby('a').apply(lambda group: group['a'].sum()) Out[4]: a None 0 1 3 1 2 4 In [5]: df.groupby('a').apply(lambda group: group['a'].sum(), engine='cudf') Out[5]: a 1 3 2 4 dtype: int64
The text was updated successfully, but these errors were encountered:
Return a Series from JIT GroupBy apply, rather than a DataFrame (#13820)
ba6ff60
Closes #13809 Authors: - https://github.com/brandon-b-miller Approvers: - GALI PREM SAGAR (https://github.com/galipremsagar) - Bradley Dice (https://github.com/bdice) URL: #13820
brandon-b-miller
Successfully merging a pull request may close this issue.
Depending on whether I choose
engine='jit'
orengine='cudf'
, I get back aDataFrame
rather than the expectedSeries
:The text was updated successfully, but these errors were encountered: