pandas convert date to string code example
Example 1: python pandas dataframe column date to string
all_data['Order Day new'] = all_data['Order Day new'].dt.strftime('%Y-%m-%d')
Example 2: convert series to datetime
pd.to_datetime(df['your_time_column'])