Skip to content

Commit f91b8ef

Browse files
committed
1 parent 1e51e72 commit f91b8ef

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

xarray/core/rolling_exp.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@
1212

1313

1414
def _get_alpha(
15-
com: float | None, span: float | None, halflife: float | None, alpha: float | None
15+
com: float | None,
16+
span: float | None = None,
17+
halflife: float | None = None,
18+
alpha: float | None = None,
1619
) -> float:
1720
# pandas defines in terms of com (converting to alpha in the algo)
1821
# so use its function to get a com and then convert to alpha

0 commit comments

Comments
 (0)