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: Updated aggregate docstring #35042

Merged
merged 14 commits into from
Aug 24, 2020
3 changes: 3 additions & 0 deletions pandas/core/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -5076,6 +5076,9 @@ def pipe(self, func, *args, **kwargs):
-----
`agg` is an alias for `aggregate`. Use the alias.

Pandas operations generally exclude NaNs. For example, `agg(np.nanmedian)`,
`agg(np.median)`, and `agg('median')` will return the same result.
gurukiran07 marked this conversation as resolved.
Show resolved Hide resolved

A passed user-defined-function will be passed a Series for evaluation.
{examples}"""
)
Expand Down