From ab504775641fb32673314bcbf6cbe2f74764b013 Mon Sep 17 00:00:00 2001 From: KevsterAmp Date: Tue, 6 Aug 2024 09:15:26 +0800 Subject: [PATCH] improve ddof doc of DataFrameGroupBy.std --- pandas/core/groupby/groupby.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandas/core/groupby/groupby.py b/pandas/core/groupby/groupby.py index c07bc56377151..1a3a32375be54 100644 --- a/pandas/core/groupby/groupby.py +++ b/pandas/core/groupby/groupby.py @@ -2437,7 +2437,8 @@ def std( Parameters ---------- ddof : int, default 1 - Degrees of freedom. + Delta Degrees of Freedom. The divisor used in calculations is ``N - ddof``, + where ``N`` represents the number of elements. engine : str, default None * ``'cython'`` : Runs the operation through C-extensions from cython.