keep only date part when using pandas.to_datetime,df['just_date'] = df['dates'].dt.date