Haven't found anything addressing this in a pandas dataframe.
So far I've tried this based on another stack overflow post but it is not working:
df['last_day_in_month'] = pd.Period(pd.to_datetime(df['date']),freq='M').end_time.date()
Pls excuse the quick picture but basically trying to replicate this in a pandas dataframe: