pandas.tseries.offsets.Easter.is_month_end — pandas 3.0.0rc0+48.gc16f4591ee documentation (original) (raw)

Easter.is_month_end(ts)#

Return boolean whether a timestamp occurs on the month end.

Parameters:

tsTimestamp

The timestamp to check.

See also

is_month_start

Return boolean whether a timestamp occurs on the month start.

Examples

ts = pd.Timestamp(2022, 1, 1) freq = pd.offsets.Hour(5) freq.is_month_end(ts) False