Skip to content

Commit a400887

Browse files
author
MarcoGorelli
committed
autotyping
1 parent d7f45ca commit a400887

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/resample.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2120,7 +2120,7 @@ def _adjust_dates_anchored(
21202120
closed: Literal["right", "left"] = "right",
21212121
origin: TimeGrouperOrigin = "start_day",
21222122
offset: Timedelta | None = None,
2123-
unit="ns",
2123+
unit: str = "ns",
21242124
) -> tuple[Timestamp, Timestamp]:
21252125
# First and last offsets should be calculated from the start day to fix an
21262126
# error cause by resampling across multiple days when a one day period is

0 commit comments

Comments
 (0)