-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG Fixing columns dropped from multi index in group by transform GH4… #47840
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
Hello @mattB1989! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2022-08-16 17:05:43 UTC |
@github-actions pre-commit |
@mroeschke This is similar to #47672 but targets a different use case |
@rhshadrach let me know if there is anything else you'd like me to change |
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.
Thanks for the changes!
@mattB1989 - what do you think of this:
|
That's much better than what I have. Committed it now |
there seems to be issues unrelated with the pr - not sure if I can rerun those manually |
The 32-bit tests are failing for diff and shift:
Can you set the dtype to be np.int64 instead. |
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.
lgtm; failure is unrelated:
ERROR pandas/tests/tseries/offsets/test_dst.py - ValueError: could not conver...
ERROR pandas/tests/tseries/offsets/test_dst.py - ValueError: could not conver...
Thanks @mattB1989 |
Thanks for all the work here @mattB1989! |
pandas-dev#47840) * BUG Fixing columns dropped from multi index in group by transform GH47787 * fixing pep8 issues * testing series as well as dataframe * fixing typo * adding a timestamp in the index so tshift fails with the right error * fixing formatting * using the module assert * adding a test on the dataframe * improve test post review * typo fix * explicitly casting to int Co-authored-by: matt <[email protected]>
…7787
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.