-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
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
GroupBy enhancement unifies the return of iterating over GroupBy #42795 #47719
Closed
Closed
Changes from all commits
Commits
Show all changes
72 commits
Select commit
Hold shift + click to select a range
54c5068
DOC #45443 edited the documentation of where/mask functions
ahmedibrhm 2951fb1
DOC #45443 edited the documentation of where/mask functions
ahmedibrhm 6335204
Merge branch 'main' into main
ahmedibrhm 8afd6a1
Update generic.py
ahmedibrhm 6a7ede4
Merge branch 'pandas-dev:main' into main
ahmedibrhm eb0ed28
Merge branch 'pandas-dev:main' into main
ahmedibrhm 83ca209
groupby enahn
ahmedibrhm a0b3a59
fixing pivot
ahmedibrhm 153bbe5
fixing ops
ahmedibrhm 43d1f92
syntax
ahmedibrhm 242468c
editting test apply
ahmedibrhm 9717f5d
removing testing lines
ahmedibrhm 5d7331e
edit pivot
ahmedibrhm a6829a7
Merge branch 'main' into issue6
ahmedibrhm b0abd59
Merge branch 'issue6' of https://github.com/ahmedibrhm/pandas into is…
ahmedibrhm c709311
edit pivot lib
ahmedibrhm 4e14c87
edit pivot
ahmedibrhm 09dec70
pivot
ahmedibrhm d1e9525
editting ops
ahmedibrhm 6b5d26b
skipping tests for changing the inputs
ahmedibrhm b7c797a
adding tests
ahmedibrhm 600cdd9
adding test groupby
ahmedibrhm 1cb253d
editing tests
ahmedibrhm c0ef8b6
tests
ahmedibrhm ef05b5b
tests
ahmedibrhm bd157c0
tests
ahmedibrhm 0e10d13
testing
ahmedibrhm a4d58c8
Merge branch 'main' into issue6
ahmedibrhm 7efc7ef
pivot editing
ahmedibrhm fa15243
Merge branch 'issue6' of https://github.com/ahmedibrhm/pandas into is…
ahmedibrhm dd070b2
test_string
ahmedibrhm e995f37
base
ahmedibrhm 7951358
base
ahmedibrhm 47b7564
Merge branch 'main' into issue6
ahmedibrhm fa26f37
test
ahmedibrhm 12cb573
Merge branch 'issue6' of https://github.com/ahmedibrhm/pandas into is…
ahmedibrhm 614a91e
editing array
ahmedibrhm 6c848f2
Merge branch 'main' into issue6
ahmedibrhm 79944f4
Merge branch 'main' into issue6
ahmedibrhm 070c726
editting ops
ahmedibrhm cc267bb
cond none
ahmedibrhm 7b37e3f
syntax
ahmedibrhm 4f59ca8
comment
ahmedibrhm 698e494
old ex.
ahmedibrhm 330c3c3
editing ops
ahmedibrhm eb8db3f
editing tests
ahmedibrhm 9c37aa3
indentations
ahmedibrhm 207f44b
Merge branch 'main' into issue6
ahmedibrhm 958edf5
flake 8
ahmedibrhm 73efbab
cond ops
ahmedibrhm 6f52b26
Merge branch 'issue6' of https://github.com/ahmedibrhm/pandas into is…
ahmedibrhm 190eaab
syntax
ahmedibrhm 986a1e9
past ex
ahmedibrhm cd74c7e
editting input for plot module
ahmedibrhm 6fc7371
unness. import
ahmedibrhm dafef53
syntax
ahmedibrhm a3a0dd2
core plot
ahmedibrhm 9fb479f
ops
ahmedibrhm 6464033
editting plotting
ahmedibrhm d745717
hist and box
ahmedibrhm b788c0e
box
ahmedibrhm 143466e
hist fix
ahmedibrhm 56f5aa3
boxplot
ahmedibrhm 93889dd
bp
ahmedibrhm a12a6fb
box and hist
ahmedibrhm fdea4a8
plotting
ahmedibrhm 871fec8
Merge branch 'main' into issue6
ahmedibrhm ebf7b92
Update _core.py
ahmedibrhm 6ea317e
Merge branch 'main' into issue6
ahmedibrhm 20c65a7
unnecessary tests
ahmedibrhm 78e1e04
Merge branch 'issue6' of https://github.com/ahmedibrhm/pandas into is…
ahmedibrhm 43a89e9
Merge branch 'main' into issue6
ahmedibrhm 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 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 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 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 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 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 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 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 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 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.
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.
Why is this necessary?
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.
because
.hist
and.box
use groupby internally in a single way. For example if I did hist by ['a','b','c','d'] the results will be like (a,), (b,), (c,), (d,).some plotting functions and the pivot table are actually iterating over groupby.
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.
But here,
grouped
is only being used in L66 immediately below, right?In this usage, only the group is being used and the key is ignored. So why is this needed if it's only the key changing?