How do I convert timestamp to datetime.date in pandas dataframe?

I got some help from a colleague.

This appears to solve the problem posted above

pd.to_datetime(df['mydates']).apply(lambda x: x.date())

Leave a Comment