Skip to content

Update grouper.py #54156

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 2 commits into from
Jul 18, 2023
Merged

Update grouper.py #54156

merged 2 commits into from
Jul 18, 2023

Conversation

guoci
Copy link
Contributor

@guoci guoci commented Jul 16, 2023

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

@guoci guoci requested a review from rhshadrach as a code owner July 16, 2023 16:39
@@ -125,7 +125,7 @@ class Grouper:

Examples
--------
Syntactic sugar for ``df.groupby('A')``
``df.groupby('Animal')`` is syntactic sugar for ``df.groupby(pd.Grouper(key="Animal"))``
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it’s the other way around

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

@mroeschke mroeschke added this to the 2.1 milestone Jul 18, 2023
@mroeschke mroeschke merged commit 894bcd9 into pandas-dev:main Jul 18, 2023
@mroeschke
Copy link
Member

Thanks @guoci

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants