pandas.tseries.offsets.Easter.is_month_start#

Easter.is_month_start(ts)#

Return boolean whether a timestamp occurs on the month start.

Parameters:
tsTimestamp

The timestamp to check.

See also

is_month_end

Return boolean whether a timestamp occurs on the month end.

Examples

>>> ts = pd.Timestamp(2022, 1, 1)
>>> freq = pd.offsets.Hour(5)
>>> freq.is_month_start(ts)
True