pandas set column to timestamp code example
Example 1: pandas change dtype to timestamp
pd.to_datetime(df.column)
Example 2: convert column to timestamp pandas
df2 = pd.to_datetime(df['col1'])
df2
pd.to_datetime(df.column)
df2 = pd.to_datetime(df['col1'])
df2