We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b917aa3 commit 0a47f79Copy full SHA for 0a47f79
pandas/core/indexes/datetimes.py
@@ -1107,7 +1107,7 @@ def date_range(
1107
# e.g. BDay with an offset
1108
td = Timedelta(freq.offset)
1109
if abbrev_to_npy_unit(td.unit) > creso:
1110
- unit = td.unit # type: ignore[assignment]
+ unit = td.unit
1111
elif type(freq) is DateOffset:
1112
if getattr(freq, "nanoseconds", 0) != 0:
1113
# e.g. test_freq_dateoffset_with_relateivedelta_nanos
0 commit comments