Skip to content

Commit 284ca1e

Browse files
silencing two warnings in the docs
1 parent a194cd8 commit 284ca1e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/source/user_guide/missing_data.rst

+2
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ Sum/prod of empties/nans
186186
The sum of an empty or all-NA Series or column of a DataFrame is 0.
187187

188188
.. ipython:: python
189+
:okwarning:
189190
190191
pd.Series([np.nan]).sum()
191192
@@ -194,6 +195,7 @@ The sum of an empty or all-NA Series or column of a DataFrame is 0.
194195
The product of an empty or all-NA Series or column of a DataFrame is 1.
195196

196197
.. ipython:: python
198+
:okwarning:
197199
198200
pd.Series([np.nan]).prod()
199201

0 commit comments

Comments
 (0)