File tree 2 files changed +13
-2
lines changed
2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -146,15 +146,13 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
146
146
-i " pandas.tseries.offsets.CustomBusinessMonthBegin PR02" \
147
147
-i " pandas.tseries.offsets.CustomBusinessMonthBegin.calendar GL08" \
148
148
-i " pandas.tseries.offsets.CustomBusinessMonthBegin.holidays GL08" \
149
- -i " pandas.tseries.offsets.CustomBusinessMonthBegin.is_on_offset SA01" \
150
149
-i " pandas.tseries.offsets.CustomBusinessMonthBegin.m_offset GL08" \
151
150
-i " pandas.tseries.offsets.CustomBusinessMonthBegin.n GL08" \
152
151
-i " pandas.tseries.offsets.CustomBusinessMonthBegin.normalize GL08" \
153
152
-i " pandas.tseries.offsets.CustomBusinessMonthBegin.weekmask GL08" \
154
153
-i " pandas.tseries.offsets.CustomBusinessMonthEnd PR02" \
155
154
-i " pandas.tseries.offsets.CustomBusinessMonthEnd.calendar GL08" \
156
155
-i " pandas.tseries.offsets.CustomBusinessMonthEnd.holidays GL08" \
157
- -i " pandas.tseries.offsets.CustomBusinessMonthEnd.is_on_offset SA01" \
158
156
-i " pandas.tseries.offsets.CustomBusinessMonthEnd.m_offset GL08" \
159
157
-i " pandas.tseries.offsets.CustomBusinessMonthEnd.n GL08" \
160
158
-i " pandas.tseries.offsets.CustomBusinessMonthEnd.normalize GL08" \
Original file line number Diff line number Diff line change @@ -720,11 +720,24 @@ cdef class BaseOffset:
720
720
"""
721
721
Return boolean whether a timestamp intersects with this frequency.
722
722
723
+ This method determines if a given timestamp aligns with the start
724
+ of a custom business month , as defined by this offset. It accounts
725
+ for custom rules , such as skipping weekends or other non-business days ,
726
+ and checks whether the provided datetime falls on a valid business day
727
+ that marks the beginning of the custom business month.
728
+
723
729
Parameters
724
730
----------
725
731
dt : datetime.datetime
726
732
Timestamp to check intersections with frequency.
727
733
734
+ See Also
735
+ --------
736
+ tseries.offsets.CustomBusinessMonthBegin : Represents the start of a custom
737
+ business month.
738
+ tseries.offsets.CustomBusinessMonthEnd : Represents the end of a custom
739
+ business month.
740
+
728
741
Examples
729
742
--------
730
743
>>> ts = pd.Timestamp(2022 , 1 , 1 )
You can’t perform that action at this time.
0 commit comments