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: correct min_count param docstring #19836

Merged
merged 4 commits into from
Feb 23, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions pandas/core/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -7855,7 +7855,7 @@ def _doc_parms(cls):
>>> pd.Series([np.nan]).prod()
1.0
>>> pd.Series([np.nan]).sum(min_count=1)
>>> pd.Series([np.nan]).prod(min_count=1)
nan
"""

Expand All @@ -7867,8 +7867,9 @@ def _doc_parms(cls):
.. versionadded :: 0.22.0
Added with the default being 1. This means the sum or product
of an all-NA or empty series is ``NaN``.
Added with the default being 0. This means the sum of an all-NA
or empty Series is 0, and the product of an all-NA or empty
Series is 1.
"""


Expand Down