I have a pandas column with string format in \'%b %d\' format, eg Jun 25. When I run the method, pd.to_datetime(df.Date, format = \'%b %d\') it gives me this error:
pd.to_datetime(df.Date, format = \'%b %d\')