Skip to content

Commit

Permalink
add kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
raisadz committed Nov 26, 2024
1 parent 9442ec9 commit d013bf7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion narwhals/_pandas_like/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,9 @@ def ewm_mean(
mask_na = ser.isna()
if self._implementation is Implementation.CUDF:
if (min_periods == 0 and not ignore_nulls) or (not mask_na.any()):
result = ser.ewm(com, span, half_life, alpha, adjust).mean()
result = ser.ewm(
com=com, span=span, halflife=half_life, alpha=alpha, adjust=adjust
).mean()
else:
msg = (
"cuDF only supports `ewm_mean` when there are no missing values "
Expand Down

0 comments on commit d013bf7

Please sign in to comment.