human
Keep only date part when using pandas.to_datetime
assistant
Here is some code to get date from dataframe `df` column 'dates' to column 'just_date'

df['just_date'] = df['dates'].dt.date

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.