Skip to content

DOC: Add Notes about difference to numpy behaviour for ddof in std() GH35985 #35986

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

7 changes: 6 additions & 1 deletion pandas/core/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -10706,7 +10706,12 @@ def _doc_parms(cls):

Returns
-------
%(name1)s or %(name2)s (if level specified)\n"""
%(name1)s or %(name2)s (if level specified)

Notes
-----
To have the same behaviour as `numpy.std`, use `ddof=0` (instead of the
default `ddof=1`)\n"""

_bool_doc = """
%(desc)s
Expand Down