using pandas datetime object as a column in a dataframe code example Example: pandas change dtype to timestamp pd.to_datetime(df.column)