- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 19.2k
DEPR: returning tuple when grouping by a list containing single element #47761
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 100 commits
      Commits
    
    
            Show all changes
          
          
            129 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 2245def
              
                Merge branch 'main' of https://github.com/ahmedibrhm/pandas
              
              
                ahmedibrhm 330eda8
              
                Merge branch 'main' of https://github.com/pandas-dev/pandas
              
              
                ahmedibrhm 8afd6a1
              
                Update generic.py
              
              
                ahmedibrhm edc9ff4
              
                Merge branch 'main' of https://github.com/ahmedibrhm/pandas
              
              
                ahmedibrhm a326359
              
                ENH: add suffixes argument to DataFrame.compare #44354
              
              
                ahmedibrhm d9c4ca9
              
                Edited the tests
              
              
                ahmedibrhm 1c54472
              
                space fixing
              
              
                ahmedibrhm ad7fb76
              
                Merge branch 'main' into issue2
              
              
                ahmedibrhm 4d34821
              
                Update shared_docs.py
              
              
                ahmedibrhm 8fb6aa2
              
                Update series.py
              
              
                ahmedibrhm 1e33dea
              
                Update series.py
              
              
                ahmedibrhm ae6c75a
              
                invalid argument tests
              
              
                ahmedibrhm ee10dd3
              
                issue reference
              
              
                ahmedibrhm 077d274
              
                syntax editing
              
              
                ahmedibrhm 3b2ef9e
              
                Merge branch 'main' into issue2
              
              
                ahmedibrhm d0289e5
              
                grammar fixing
              
              
                ahmedibrhm bd45e06
              
                edit doc
              
              
                ahmedibrhm a13b319
              
                editting doc
              
              
                ahmedibrhm f32d7cf
              
                Update 02_read_write.rst
              
              
                ahmedibrhm 6396583
              
                Update 02_read_write.rst
              
              
                ahmedibrhm e754e15
              
                Update v1.5.0.rst
              
              
                ahmedibrhm 8f67c9f
              
                Update v1.5.0.rst
              
              
                ahmedibrhm fa4e26b
              
                Merge branch 'main' into issue2
              
              
                ahmedibrhm 580773d
              
                np
              
              
                ahmedibrhm 15a9a57
              
                Merge branch 'pandas-dev:main' into issue2
              
              
                ahmedibrhm a4fca56
              
                1.5.0 rst
              
              
                ahmedibrhm a468714
              
                Merge branch 'main' into issue2
              
              
                ahmedibrhm bc209bb
              
                created tests for invalid input
              
              
                ahmedibrhm ff014e3
              
                space
              
              
                ahmedibrhm 32d1c5e
              
                space
              
              
                ahmedibrhm 0daa3e8
              
                space
              
              
                ahmedibrhm be1a9ad
              
                Merge branch 'main' into issue2
              
              
                ahmedibrhm 9cb23b8
              
                editing test
              
              
                ahmedibrhm 7ad93e1
              
                Merge branch 'issue2' of https://github.com/ahmedibrhm/pandas into is…
              
              
                ahmedibrhm 8ec7067
              
                deprecated
              
              
                ahmedibrhm 6426ab2
              
                Merge branch 'main' into issue7
              
              
                ahmedibrhm 7be113a
              
                syntax
              
              
                ahmedibrhm c470a4a
              
                Merge branch 'issue7' of https://github.com/ahmedibrhm/pandas into is…
              
              
                ahmedibrhm b78819f
              
                editting existed examples
              
              
                ahmedibrhm 1090ef8
              
                syntax
              
              
                ahmedibrhm c54e4ea
              
                edit past tests
              
              
                ahmedibrhm 6b25462
              
                editting pivot
              
              
                ahmedibrhm 58e82ce
              
                Merge branch 'main' into issue7
              
              
                ahmedibrhm b73e343
              
                ex
              
              
                ahmedibrhm f46c07c
              
                Merge branch 'issue7' of https://github.com/ahmedibrhm/pandas into is…
              
              
                ahmedibrhm 3e1aeba
              
                editing internal use
              
              
                ahmedibrhm 990d3b0
              
                pivot
              
              
                ahmedibrhm 5dd8315
              
                warning expected
              
              
                ahmedibrhm cbfd656
              
                warning
              
              
                ahmedibrhm a68c413
              
                ignore doc warning
              
              
                ahmedibrhm cc731be
              
                doc
              
              
                ahmedibrhm 4e4f397
              
                tests
              
              
                ahmedibrhm 7aa9948
              
                ignore warning
              
              
                ahmedibrhm ead96d5
              
                test
              
              
                ahmedibrhm 8d06022
              
                plotting
              
              
                ahmedibrhm 8a2e15b
              
                test
              
              
                ahmedibrhm ddac985
              
                Merge branch 'main' into issue7
              
              
                ahmedibrhm dbbdbf1
              
                doc
              
              
                ahmedibrhm 11a0928
              
                Merge branch 'issue7' of https://github.com/ahmedibrhm/pandas into is…
              
              
                ahmedibrhm 4afe5fa
              
                doc
              
              
                ahmedibrhm 123f42e
              
                white space
              
              
                ahmedibrhm dfa9505
              
                doc
              
              
                ahmedibrhm 7ccba90
              
                doc
              
              
                ahmedibrhm f612f3a
              
                doc
              
              
                ahmedibrhm 758a88e
              
                doc
              
              
                ahmedibrhm 2fa0694
              
                stacklevel
              
              
                ahmedibrhm e8b2317
              
                pivot
              
              
                ahmedibrhm fd68cf8
              
                pivot
              
              
                ahmedibrhm 1dd52c8
              
                cookbook
              
              
                ahmedibrhm 917a662
              
                flake8
              
              
                ahmedibrhm f02eb6f
              
                flake8
              
              
                ahmedibrhm 811e63a
              
                what's new
              
              
                ahmedibrhm 565d80f
              
                syntax
              
              
                ahmedibrhm 057e642
              
                itr
              
              
                ahmedibrhm dcd14d1
              
                car names
              
              
                ahmedibrhm fbab0e9
              
                Merge branch 'main' into issue7
              
              
                ahmedibrhm 6f9cb71
              
                test edit
              
              
                ahmedibrhm 0845d76
              
                Merge branch 'issue7' of https://github.com/ahmedibrhm/pandas into is…
              
              
                ahmedibrhm acdab83
              
                fixing tests
              
              
                ahmedibrhm 1d96b70
              
                fixing tests
              
              
                ahmedibrhm 1ff640c
              
                flake8
              
              
                ahmedibrhm da101e4
              
                rst edit
              
              
                ahmedibrhm 165f53e
              
                __iter__ edit
              
              
                ahmedibrhm ef5f767
              
                Merge branch 'main' into issue7
              
              
                ahmedibrhm dd9799e
              
                flake8
              
              
                ahmedibrhm 606d5e4
              
                Merge branch 'issue7' of https://github.com/ahmedibrhm/pandas into is…
              
              
                ahmedibrhm ee1a425
              
                flake8
              
              
                ahmedibrhm 20d7e64
              
                space
              
              
                ahmedibrhm 384d1d3
              
                test
              
              
                ahmedibrhm e85e0cc
              
                Merge branch 'main' into issue7
              
              
                ahmedibrhm e01e409
              
                merge
              
              
                ahmedibrhm 72d0401
              
                Merge branch 'issue7' of https://github.com/ahmedibrhm/pandas into is…
              
              
                ahmedibrhm 9fa72d5
              
                ignore the type
              
              
                ahmedibrhm 0478afa
              
                mypy
              
              
                ahmedibrhm 4e6c2fa
              
                Merge branch 'main' into issue7
              
              
                ahmedibrhm 374fad8
              
                type
              
              
                ahmedibrhm 5fac1ca
              
                Merge branch 'issue7' of https://github.com/ahmedibrhm/pandas into is…
              
              
                ahmedibrhm 6cc3f49
              
                self.keys
              
              
                ahmedibrhm 5c18c63
              
                tests
              
              
                ahmedibrhm d591a2a
              
                .
              
              
                ahmedibrhm 89922c2
              
                .
              
              
                ahmedibrhm bb9ac87
              
                Merge branch 'main' into issue7
              
              
                ahmedibrhm 4a8c2f7
              
                Merge branch 'main' into issue7
              
              
                ahmedibrhm 6fa3c17
              
                Merge branch 'main' into issue7
              
              
                ahmedibrhm 2c97838
              
                Merge branch 'main' into issue7
              
              
                ahmedibrhm 13d4f35
              
                adding keys
              
              
                ahmedibrhm 9022ac9
              
                Merge branch 'issue7' of https://github.com/ahmedibrhm/pandas into is…
              
              
                ahmedibrhm cacc726
              
                order
              
              
                ahmedibrhm a3bf81a
              
                attribute
              
              
                ahmedibrhm 4aa9d18
              
                Merge branch 'main' into issue7
              
              
                ahmedibrhm 3d17829
              
                Merge branch 'main' into issue7
              
              
                ahmedibrhm 93b1ee1
              
                ignores
              
              
                ahmedibrhm a5b22d6
              
                Merge branch 'issue7' of https://github.com/ahmedibrhm/pandas into is…
              
              
                ahmedibrhm 797c198
              
                Update hist.py
              
              
                ahmedibrhm 45eb053
              
                ignore
              
              
                ahmedibrhm 493f9b6
              
                Merge branch 'issue7' of https://github.com/ahmedibrhm/pandas into is…
              
              
                ahmedibrhm d246058
              
                .
              
              
                ahmedibrhm 14e5d6a
              
                .
              
              
                ahmedibrhm 351aa56
              
                .
              
              
                ahmedibrhm c971544
              
                Merge branch 'main' into issue7
              
              
                ahmedibrhm e1c12e9
              
                .
              
              
                ahmedibrhm af71e56
              
                Merge branch 'issue7' of https://github.com/ahmedibrhm/pandas into is…
              
              
                ahmedibrhm 37843a4
              
                .
              
              
                ahmedibrhm 5d68f0b
              
                Merge branch 'main' into issue7
              
              
                ahmedibrhm 1b93ae1
              
                Update doc/source/whatsnew/v1.5.0.rst
              
              
                ahmedibrhm ec2656d
              
                Merge branch 'main' into issue7
              
              
                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 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
    
  
  
    
              
  
    
      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.
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.
We want to mention iterating over the groupby. Something like
Also, no period at the end and add the issue number at the end (as in the lines above).
Uh oh!
There was an error while loading. Please reload this page.
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.
The end of the whatsnew note looks good - but saying
:meth:`Pandas.groupby`is incorrect (there is nopandas.groupbymethod). See my suggestion above.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.
@rhshadrach sorry didn't notice. How about now?