pandas.tseries.offsets.Easter.is_month_start — pandas 3.0.0rc0+52.gb43b95d2b4 documentation (original) (raw)

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