Skip to content

Commit

Permalink
fix(python): Fix return type of Series.dt.add_business_days (#20402)
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrigible authored Dec 22, 2024
1 parent 127f590 commit 54860b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py-polars/polars/series/datetime.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 54860b9

Please sign in to comment.