how to define object column with datetime in pandas code example Example: pandas change dtype to timestamp pd.to_datetime(df.column)