From 15ecaf724e98c5bcb2d459e720ca60e22e758346 Mon Sep 17 00:00:00 2001 From: guru kiran <47276342+gurukiran07@users.noreply.github.com> Date: Tue, 21 Jul 2020 15:14:35 +0530 Subject: [PATCH] Update generic.py --- pandas/core/generic.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 41dd3e2941a06..29bfceeb6b83f 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -5075,9 +5075,8 @@ def pipe(self, func, *args, **kwargs): Notes ----- - `agg` is an alias for `aggregate`. Use the alias. - - Some NumPy functions resolve to their corresponding internal Cython function. - As pandas operations generally exclude NaNs, for example `.agg(np.nanmedian)`, - `.agg(np.median)`, and `.agg('median') will return the same result. + - Pandas operations generally exclude NaNs. For example, `agg(np.nanmedian)`, + `agg(np.median)`, and `agg('median') will return the same result. A passed user-defined-function will be passed a Series for evaluation. {examples}"""