-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: groupby apply raises ValueError when groupby axis has duplicates and applied identity function #30679
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
BUG: groupby apply raises ValueError when groupby axis has duplicates and applied identity function #30679
Conversation
Restarted the failing travis build |
Hello @fujiaxiang! 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 2020-01-20 13:53:25 UTC |
…_duplicated_non_sorted_axis
ping |
All tests passed on my local machine which has the most recent master merged. Don't know why this fails. I see many other PRs also failing. Is this a CI issue? |
…_duplicated_non_sorted_axis
…_duplicated_non_sorted_axis
…_duplicated_non_sorted_axis
…_duplicated_non_sorted_axis
…_duplicated_non_sorted_axis
The CI process keeps failing. Can anyone tell me how I can retrigger CI without pushing new commits? |
…_duplicated_non_sorted_axis
thanks @fujiaxiang very nice. so a more longer term solution would be for |
This is a more of a patch than a complete solution to this groupby apply paradigm.
When there are duplicates in the groupby axis, we restore the axis to its original order, but not guaranteeing that the order of the data with the same axis values is restored.
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff