Skip to content

Added documentation for Named aggregation in groupby.agg (Issue #18220) #54369

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

Closed
wants to merge 10 commits into from

Conversation

Ememobong28
Copy link

@Ememobong28 Ememobong28 commented Aug 2, 2023

closes #18220


.. ipython:: python

result = animals.groupby('kind').agg(
Copy link
Member

Choose a reason for hiding this comment

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

Can you put this in the groupby docstring instead?

Copy link
Author

Choose a reason for hiding this comment

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

Okay

Copy link
Author

Choose a reason for hiding this comment

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

Hello, How do I put this in a groupby docstring

Copy link
Member

Choose a reason for hiding this comment

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

The example would go here

@@ -0,0 +1,66 @@
# Copyright (C) 2012 Anaconda, Inc
Copy link
Member

Choose a reason for hiding this comment

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

This shouldn't be included

@@ -0,0 +1,2945 @@
<?xml version="1.0" encoding="utf-8"?>
Copy link
Member

Choose a reason for hiding this comment

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

This shouldn't be included

@mroeschke mroeschke added the Docs label Aug 2, 2023
@mroeschke
Copy link
Member

Closing in favor of #54563

@mroeschke mroeschke closed this Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DOC: DataFrame.groupy.agg with a list of tuples
2 participants