
Want to take a Python Pandas series of strings, and get datetime values? Use pd.to_datetime:
pd.to_datetime(df['x'])
Notice: It’s not a method! It’s a top-level pd function.
Specify a non-standard “format” with a strftime string:
pd.to_datetime(df['x'], format='%d/%m/%Y')
