-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: column name conflict & as_index=False breaks groupby ops #8585
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
Conversation
what is the point of the added argument in_axis? nvm, I realized that's internal, so ok |
fyi, need to put closes separately for each issue i'll have a look soon - |
this line relies on the grouper name in order to infer which columns to exclude from with this patch, the groupers which should be excluded are explicitly identified at initialization of groupers by setting the value of
|
@behzadnouri this looks gr8!. thanks! need a little example in v0.15.1.txt, in the API section. pls show the former behavior (use your example above, maybe a little shorter) as a code-block then add the new. Its really a bug-fix, but its a change, so important to show (and reference the 3 issues). lmk when ready and green. |
added the example v0.15.1.txt |
0 0 81 97 | ||
1 5 62 75 | ||
2 10 93 41 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, then add the current results after (using the same constructed data). Also pls show the df's here right after you construct them (you can do it in the current results). thxs. This is a nice fix but needs to be explained to users in detail.
done! |
This doesn't look right (#8112), should be Flalse/True for the index
Here is with first
Also pls show this example as it changes in this release as well |
I think on master:
on branch
|
This is on master (the behavior of as_index=True/False)
|
what should be the index be with:
either way, i think I mean above issues are about result columns not the result index. |
BUG: column name conflict & as_index=False breaks groupby ops
@behzadnouri thanks, FYI the master issue for |
closes #7115
closes #8112
closes #8582