correct format to change date in pandas to datetime code example Example: apply format to pandas datetime column formatted_df = df["Date"].dt.strftime("%m/%d/%y")