Skip to content

Revised the doc-string for _app_template to bring in line with curren… #48613

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

Conversation

DRudel
Copy link
Contributor

@DRudel DRudel commented Sep 17, 2022

Revised the doc-string for _app_template to bring in line with current code for aggregate(), in particular regarding the advent of Named Aggregation.

Also fixed text in "See Also" section, where the entries for groupby.transform and aggregate had their text swapped.

…t aggregate() code, in particular with regard to Named Aggregation.

Also fixed text in "See Also" section, where the entries for groupby.transform and aggregate had their text swapped.
@mroeschke mroeschke added Docs Apply Apply, Aggregate, Transform, Map labels Sep 19, 2022
Copy link
Member

@rhshadrach rhshadrach left a comment

Choose a reason for hiding this comment

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

lgtm

@rhshadrach rhshadrach added this to the 1.6 milestone Sep 25, 2022
@@ -529,6 +529,9 @@ class providing the base-class of operations.
- string function name
- list of functions and/or function names, e.g. ``[np.sum, 'mean']``
- dict of axis labels -> functions, function names or list of such.
- None, in which case output is determined from ``**kwargs`` using Named Aggregation. In this scenario the output
has one column for each element in ``**kwargs``. The name of the column is a string of the keyword's variable name. The
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 from the Ci checks that the line lengths here are too long: https://github.com/pandas-dev/pandas/actions/runs/3102809189/jobs/5025470354

@mroeschke mroeschke modified the milestones: 1.6, 2.0 Oct 13, 2022
@github-actions
Copy link
Contributor

This pull request is stale because it has been open for thirty days with no activity. Please update and respond to this comment if you're still interested in working on this.

@github-actions github-actions bot added the Stale label Nov 13, 2022
@rhshadrach
Copy link
Member

@DRudel - do you have any interest in continuing this? If not, okay if I push it over the finish line?

@DRudel
Copy link
Contributor Author

DRudel commented Nov 13, 2022 via email

@mroeschke mroeschke removed the Stale label Dec 17, 2022
@mroeschke mroeschke merged commit 34b3222 into pandas-dev:main Dec 17, 2022
@mroeschke
Copy link
Member

Thanks @DRudel and @rhshadrach for finishing this up!

@rhshadrach
Copy link
Member

Thanks @DRudel!

@DRudel
Copy link
Contributor Author

DRudel commented Dec 17, 2022 via email

phofl pushed a commit to phofl/pandas that referenced this pull request Dec 17, 2022
pandas-dev#48613)

* Revised the doc-string for _app_template to bring in line with current aggregate() code, in particular with regard to Named Aggregation.

Also fixed text in "See Also" section, where the entries for groupby.transform and aggregate had their text swapped.

* Update pandas/core/groupby/groupby.py

Co-authored-by: Matthew Roeschke <[email protected]>

* fixup

* Language tweaks

Co-authored-by: Matthew Roeschke <[email protected]>
Co-authored-by: MarcoGorelli <>
Co-authored-by: Richard Shadrach <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Apply Apply, Aggregate, Transform, Map Docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DOC: Signature information for groupby.aggregate does not include Named Aggregation
3 participants