From 6b0b120b1443df08e8582c76b21be02ba2df3969 Mon Sep 17 00:00:00 2001 From: Terrigible <43108446+Terrigible@users.noreply.github.com> Date: Sun, 22 Dec 2024 14:14:23 +0800 Subject: [PATCH] fix(python): fix return type of `Series.dt.add_business_days` --- py-polars/polars/series/datetime.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py-polars/polars/series/datetime.py b/py-polars/polars/series/datetime.py index 1ea8af605485..57a2359ff3d7 100644 --- a/py-polars/polars/series/datetime.py +++ b/py-polars/polars/series/datetime.py @@ -44,7 +44,7 @@ def add_business_days( week_mask: Iterable[bool] = (True, True, True, True, True, False, False), holidays: Iterable[dt.date] = (), roll: Roll = "raise", - ) -> Expr: + ) -> Series: """ Offset by `n` business days.