Skip to content

Commit 26cb1c1

Browse files
author
wdyy20041223
committed
style: apply ruff format and isort auto-formatting
1 parent 9d05b22 commit 26cb1c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/core/generic.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12698,9 +12698,9 @@ def ewm(
1269812698
[:math:`x_0, x_1, ..., x_t`] would be:
1269912699
1270012700
.. math::
12701-
y_t = \\frac{x_t + (1 - \\alpha)x_{t-1} + (1 - \\alpha)^2 x_{t-2} +
12702-
... + (1 - \\alpha)^t x_0}{1 + (1 - \\alpha) + (1 - \\alpha)^2 +
12703-
... + (1 - \\alpha)^t}
12701+
y_t = \\frac{x_t + (1 - \\alpha)x_{t-1} + (1 - \\alpha)^2 x_{t-2} + ... +
12702+
(1 - \\alpha)^t x_0}{1 + (1 - \\alpha) + (1 - \\alpha)^2 + ... +
12703+
(1 - \\alpha)^t}
1270412704
1270512705
- When ``adjust=False``, the exponentially weighted function is calculated
1270612706
recursively:

0 commit comments

Comments
 (0)