Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
max-sixty committed Sep 19, 2023
1 parent 828ea08 commit 73a3103
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions xarray/core/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
DTypeLikeSave,
ScalarOrArray,
SideOptions,
Self,
T_Chunks,
T_DataWithCoords,
T_Variable,
Expand Down Expand Up @@ -810,11 +811,11 @@ def pipe(
return func(self, *args, **kwargs)

def rolling_exp(
self: T_DataWithCoords,
self,
window: Mapping[Any, int] | None = None,
window_type: str = "span",
**window_kwargs,
) -> RollingExp[T_DataWithCoords]:
) -> RollingExp[Self]:
"""
Exponentially-weighted moving window.
Similar to EWM in pandas
Expand Down

0 comments on commit 73a3103

Please sign in to comment.