pandas.Timestamp.is_month_end# Timestamp.is_month_end# Return True if date is last day of month. Examples >>>>>> ts = pd.Timestamp(2020, 3, 14) >>> ts.is_month_end False Copy to clipboard >>>>>> ts = pd.Timestamp(2020, 12, 31) >>> ts.is_month_end True Copy to clipboard