Skip to content

Commit 332a70e

Browse files
author
y-p
committed
DOC: suppress warning during doc building
1 parent 825c33f commit 332a70e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/source/dsintro.rst

+7
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
np.set_printoptions(precision=4, suppress=True)
1212
set_option('display.precision', 4, 'display.max_columns', 8)
1313
options.display.max_rows=15
14+
import pandas as pd
1415
1516
1617
************************
@@ -488,6 +489,12 @@ TimeSeries (which it will be automatically if the index contains datetime
488489
objects), and the DataFrame index also contains dates, the broadcasting will be
489490
column-wise:
490491

492+
.. ipython:: python
493+
:suppress:
494+
495+
import warnings
496+
warnings.filterwarnings("ignore",message='TimeSeries broadcasting',category=FutureWarning)
497+
491498
.. ipython:: python
492499
493500
index = date_range('1/1/2000', periods=8)

0 commit comments

Comments
 (0)