pandas.tseries.offsets.Week.is_quarter_end#

Week.is_quarter_end(ts)#

Return boolean whether a timestamp occurs on the quarter end.

Parameters:
tsTimestamp

The timestamp to check.

See also

is_quarter_start

Return 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