pandas.tseries.offsets.BusinessMonthBegin.is_quarter_end#
- BusinessMonthBegin.is_quarter_end(ts)#
Return boolean whether a timestamp occurs on the quarter end.
This method checks if the given timestamp falls on the last day of a calendar quarter (March 31, June 30, September 30, or December 31).
- Parameters:
- tsTimestamp
The timestamp to check.
See also
is_quarter_startReturn boolean whether a timestamp occurs on the quarter start.
Examples
>>> ts = pd.Timestamp(2022, 1, 1) >>> freq = pd.offsets.Hour(5) >>> freq.is_quarter_end(ts) False