# Converting a column in a pandas DataFrame to datetime # NB: This can also be applied to pandas series pd.to_datetime(df['column_name'])