pandas change date to datetime code example Example: convert date time to date pandas df['date_column'] = pd.to_datetime(df['datetime_column']).dt.date