pandas.tseries.offsets.Day.is_month_end#
- Day.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