pandas timestamp astype code example Example: pandas change dtype to timestamp pd.to_datetime(df.column)