pandas cannot convert string to datetime code example Example: pandas change dtype to timestamp pd.to_datetime(df.column)