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 e4b91c4 commit b6f945dCopy full SHA for b6f945d
pandas/core/arrays/datetimes.py
@@ -71,9 +71,6 @@
71
72
from pandas.tseries.frequencies import get_period_alias
73
from pandas.tseries.offsets import (
74
- BusinessDay,
75
- BusinessHour,
76
- CustomBusinessHour,
77
DateOffset,
78
Day,
79
Tick,
@@ -839,9 +836,6 @@ def _add_offset(self, offset: BaseOffset) -> Self:
839
836
hasattr(offset, "offset")
840
837
and offset.offset is not None
841
838
and not isinstance(offset, Tick)
842
- and type(offset) is not BusinessDay
843
- and type(offset) is not BusinessHour
844
- and type(offset) is not CustomBusinessHour
845
):
846
offset_td = Timedelta(offset.offset)
847
if offset_td.value != 0:
0 commit comments