pandas.tseries.offsets.BYearBegin.is_month_end

BYearBegin.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_end(ts)
False