pandas.tseries.offsets.WeekOfMonth.is_quarter_start#

WeekOfMonth.is_quarter_start(ts)#

Return boolean whether a timestamp occurs on the quarter start.

Parameters:
tsTimestamp

The timestamp to check.

See also

is_quarter_end

Return 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