Skip to content
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

DOC: Update GroupBy docstrings with See Also requirements #59748

Merged
merged 3 commits into from
Sep 12, 2024

Conversation

ktseng4096
Copy link
Contributor

This PR fixes docstring validation errors described in #58063

Comment on lines 204 to 209
Series.min : Return the min of the group values.
DataFrame.min : Return the min of the group values.
Series.max : Return the max of the group values.
DataFrame.max : Return the max of the group values.
Series.sum : Return the sum of the group values.
DataFrame.sum : Return the sum of the group values.
Copy link
Member

Choose a reason for hiding this comment

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

Why "group values" if you're linking to e.g. Series.min?

Copy link
Member

Choose a reason for hiding this comment

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

Maybe just Series values or DataFrame values as appropriate?

Copy link
Contributor Author

@ktseng4096 ktseng4096 Sep 9, 2024

Choose a reason for hiding this comment

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

Thanks for catching that, I referenced the wrong function, should have been the groupby versions of those functions.

I saw elsewhere that a different template had all the functions that used the template in the see also section so I went with that same approach.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@rhshadrach let me know if this is appropriate or not.

@rhshadrach rhshadrach added this to the 3.0 milestone Sep 8, 2024
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

@mroeschke mroeschke merged commit 5927bd8 into pandas-dev:main Sep 12, 2024
47 checks passed
@mroeschke
Copy link
Member

Thanks @ktseng4096

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