convert pandas dataframe column to datetime format code example
Example 1: convert column in pandas to datetime
df['col'] = pd.to_datetime(df['col'])
Example 2: apply format to pandas datetime column
formatted_df = df["Date"].dt.strftime("%m/%d/%y")