convert date time format to date in python code example
Example: date object into date format python
df['date_column'] = pd.to_datetime(df['date_column'],format='%Y%m%d')
df['date_column'] = pd.to_datetime(df['date_column'],format='%Y%m%d')