pandas.tseries.offsets.CustomBusinessHour.is_anchored#
- CustomBusinessHour.is_anchored()#
Return boolean whether the frequency is a unit frequency (n=1).
Deprecated since version 2.2.0: is_anchored is deprecated and will be removed in a future version. Use
obj.n == 1
instead.Examples
>>> pd.DateOffset().is_anchored() True >>> pd.DateOffset(2).is_anchored() False