Skip to content

Commit d9c53b4

Browse files
DOC: fix build errors/warnings
1 parent b10ed25 commit d9c53b4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

doc/source/basics.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1725,6 +1725,7 @@ pass ``convert_numeric=True``. This will force strings and numbers alike to be n
17251725
they will be set to ``np.nan``.
17261726

17271727
.. ipython:: python
1728+
:okwarning:
17281729
17291730
df3['D'] = '1.'
17301731
df3['E'] = '1'

doc/source/computation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ sugar for applying the moving window operator to all of the DataFrame's columns:
267267

268268
.. ipython:: python
269269
:suppress:
270+
270271
plt.close('all')
271272
272273
.. ipython:: python
@@ -541,7 +542,7 @@ which gives
541542

542543
.. math::
543544
544-
y_t = \frac{x_t + (1 - \alpha)x_{t-1} + (1 - \alpha)^2 x_{t-2} + ...
545+
y_t = \frac{x_t + (1 - \alpha)x_{t-1} + (1 - \alpha)^2 x_{t-2} + ...
545546
+ (1 - \alpha)^t x_{0}}{1 + (1 - \alpha) + (1 - \alpha)^2 + ...
546547
+ (1 - \alpha)^t}
547548
@@ -620,7 +621,6 @@ Here is an example for a univariate time series:
620621

621622
.. ipython:: python
622623
623-
plt.close('all')
624624
ts.plot(style='k--')
625625
626626
@savefig ewma_ex.png

0 commit comments

Comments
 (0)