-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
BUG: GroupBy.apply() returns different results if a different GroupBy method is called first #35314
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
Merged
Merged
Changes from 18 commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
e84a15d
GroupBy.apply() calls self._reset_group_selection at the start. Erran…
smithto1 2f764db
Merge remote-tracking branch 'upstream/master' into issue34656
smithto1 e122809
gb.apply() now resets group selection so it always returns grouping c…
smithto1 27b2694
test uses .drop() instead of selection
smithto1 0cca6df
wrote new tests
smithto1 2786eb5
rewrote test
smithto1 33cdf65
whatsnew
smithto1 6a65e2f
restore if-stat in test_transform
smithto1 9948d2f
amended test
smithto1 e4a132e
restored test
smithto1 4170ca6
restored test
smithto1 0ab1c8a
amended test
smithto1 f2a32f4
cleanup
smithto1 f5b674b
trailing comma
smithto1 7028756
fixed test_to_latex
smithto1 45abe63
added test to ensure .describe() keeps non-nuisance groupin columns
smithto1 063f0ea
minimized changes to exsiting tests
smithto1 7f0d192
add .describe() to whatsnew
smithto1 974da63
parametrize test over as_index=T/F
smithto1 b395e39
restored .describe to old behaviour
smithto1 2405504
Merge remote-tracking branch 'upstream/master' into issue34656
smithto1 682c93a
Merge remote-tracking branch 'upstream/master' into issue34656-temp
smithto1 67e9744
restoring test_function.py to master
smithto1 8f1b9c9
added comment
smithto1 804b0e0
Merge branch 'issue34656-temp' into issue34656
smithto1 f422b7d
fixed describe to work with duplicate cols
smithto1 b07a290
merge fixed
smithto1 6bec040
update comment
smithto1 8cdd4cd
context manager in agg_general
smithto1 abe8be3
remove hashed out line
smithto1 7112cf8
limited context manager in _make_wrapper
smithto1 0c8b144
removed unrelated test
smithto1 755c8f0
update comment
smithto1 8951a73
Merge remote-tracking branch 'upstream/master' into issue34656
smithto1 b61695b
whatsnew on v1.1.1
smithto1 673a35b
comment typo
smithto1 42f53dd
amend comment to restart tests
smithto1 18634a6
whatsnew to 1.2.0
smithto1 95553a1
resolve merge
smithto1 1a0aa44
remove line that can't be tiggered by test
smithto1 b09e41e
restart tests
smithto1 a7e264f
Merge remote-tracking branch 'upstream/master' into issue34656
smithto1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.