get date from dataframe `df` column 'dates' to column 'just_date',df['just_date'] = df['dates'].dt.date