Skip to content

Commit cc231c8

Browse files
committed
Revert "Update generic.py"
This reverts commit 15ecaf7.
1 parent 15ecaf7 commit cc231c8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pandas/core/generic.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5075,8 +5075,9 @@ def pipe(self, func, *args, **kwargs):
50755075
Notes
50765076
-----
50775077
- `agg` is an alias for `aggregate`. Use the alias.
5078-
- Pandas operations generally exclude NaNs. For example, `agg(np.nanmedian)`,
5079-
`agg(np.median)`, and `agg('median') will return the same result.
5078+
- Some NumPy functions resolve to their corresponding internal Cython function.
5079+
As pandas operations generally exclude NaNs, for example `.agg(np.nanmedian)`,
5080+
`.agg(np.median)`, and `.agg('median') will return the same result.
50805081
50815082
A passed user-defined-function will be passed a Series for evaluation.
50825083
{examples}"""

0 commit comments

Comments
 (0)