Skip to content

Commit

Permalink
silencing two warnings in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
SaturnFromTitan committed Nov 15, 2019
1 parent a194cd8 commit 284ca1e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/source/user_guide/missing_data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ Sum/prod of empties/nans
The sum of an empty or all-NA Series or column of a DataFrame is 0.

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

.. ipython:: python
:okwarning:
pd.Series([np.nan]).prod()
Expand Down

0 comments on commit 284ca1e

Please sign in to comment.