convert object to datetime pandas series code example
Example 1: pandas convert series of datetime to date
df['date_only'] = df['date_time_column'].dt.date
Example 2: convert datetime to date pandas
[dt.to_datetime().date() for dt in df.dates]
df['date_only'] = df['date_time_column'].dt.date
[dt.to_datetime().date() for dt in df.dates]