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
as_index=
The as_index= argument is ignored by groupby-apply:
In [2]: df = cudf.DataFrame({'a': [1, 1, 2], 'b': [1, 2, 3]}) In [3]: df.groupby('a', as_index=False).apply(lambda x: x['b'].sum()) Out[3]: a 1 3 2 3 dtype: int64 In [4]: df.to_pandas().groupby('a', as_index=False).apply(lambda x: x['b'].sum()) Out[4]: a None 0 1 3 1 2 3
The text was updated successfully, but these errors were encountered:
I think I know what might be happening here, will take a look!
Sorry, something went wrong.
as_index
GroupBy.apply
Handle as_index in GroupBy.apply (#13951)
80d9b1a
Closes #13897 Authors: - https://github.com/brandon-b-miller Approvers: - GALI PREM SAGAR (https://github.com/galipremsagar) URL: #13951
brandon-b-miller
Successfully merging a pull request may close this issue.
The
as_index=
argument is ignored by groupby-apply:The text was updated successfully, but these errors were encountered: