pandas.tseries.offsets.CustomBusinessMonthEnd.is_quarter_start#
- CustomBusinessMonthEnd.is_quarter_start(ts)#
Return boolean whether a timestamp occurs on the quarter start.
This method checks if the given timestamp falls on the first day of a calendar quarter (January 1, April 1, July 1, or October 1).
- Parameters:
- tsTimestamp
The timestamp to check.
See also
is_quarter_endReturn boolean whether a timestamp occurs on the quarter end.
Examples
>>> ts = pd.Timestamp(2022, 1, 1) >>> freq = pd.offsets.Hour(5) >>> freq.is_quarter_start(ts) True