diff --git a/py-polars/src/expr/general.rs b/py-polars/src/expr/general.rs index 595ac5e8bdfda..a9148acf211bd 100644 --- a/py-polars/src/expr/general.rs +++ b/py-polars/src/expr/general.rs @@ -343,7 +343,7 @@ impl PyExpr { let expr = self.inner.clone(); let out = match fill_value { Some(v) => expr.shift_and_fill(n, v.inner), - None => expr.shift(n) + None => expr.shift(n), }; out.into() } diff --git a/py-polars/src/lazyframe.rs b/py-polars/src/lazyframe.rs index 16f2595408621..dae8419ed4664 100644 --- a/py-polars/src/lazyframe.rs +++ b/py-polars/src/lazyframe.rs @@ -838,7 +838,7 @@ impl PyLazyFrame { let lf = self.ldf.clone(); let out = match fill_value { Some(v) => lf.shift_and_fill(n, v.inner), - None => lf.shift(n) + None => lf.shift(n), }; out.into() }