We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a194cd8 commit 284ca1eCopy full SHA for 284ca1e
doc/source/user_guide/missing_data.rst
@@ -186,6 +186,7 @@ Sum/prod of empties/nans
186
The sum of an empty or all-NA Series or column of a DataFrame is 0.
187
188
.. ipython:: python
189
+ :okwarning:
190
191
pd.Series([np.nan]).sum()
192
@@ -194,6 +195,7 @@ The sum of an empty or all-NA Series or column of a DataFrame is 0.
194
195
The product of an empty or all-NA Series or column of a DataFrame is 1.
196
197
198
199
200
pd.Series([np.nan]).prod()
201
0 commit comments