Skip to content

Commit bfefa19

Browse files
authored
DOC: fixup formula for exponentially weighted mean with input vector of times? #40327 (#40343)
1 parent 93c52e4 commit bfefa19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/user_guide/window.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ The following formula is used to compute exponentially weighted mean with an inp
581581

582582
.. math::
583583
584-
y_t = \frac{\sum_{i=0}^t 0.5^\frac{t_{t} - t_{i}}{\lambda} x_{t-i}}{0.5^\frac{t_{t} - t_{i}}{\lambda}},
584+
y_t = \frac{\sum_{i=0}^t 0.5^\frac{t_{t} - t_{i}}{\lambda} x_{t-i}}{\sum_{i=0}^t 0.5^\frac{t_{t} - t_{i}}{\lambda}},
585585
586586
587587
ExponentialMovingWindow also has an ``ignore_na`` argument, which determines how

0 commit comments

Comments
 (0)