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
Under some circumstances, transform is getting confused about what the output index should be:
transform
>>> df = pd.DataFrame({"c1": [1], "c2": [2]}) >>> df c1 c2 0 1 2 >>> df.groupby('c1').transform(sum) c2 0 NaN 1 2
I haven't chased down why, but since we have
>>> df.groupby('c1').transform(lambda x: sum(x)) c2 0 2
it must be another fast-path problem, like #9697.
The text was updated successfully, but these errors were encountered:
Add a test and whatsnew item for GH pandas-dev#9700
31f93e5
Successfully merging a pull request may close this issue.
Under some circumstances,
transform
is getting confused about what the output index should be:I haven't chased down why, but since we have
it must be another fast-path problem, like #9697.
The text was updated successfully, but these errors were encountered: