SyntaxFix
Write A Post
Hire A Developer
Questions
Assuming we imported pandas as pd and df is our dataframe
pandas as pd
df
pd.to_datetime(df['date'], unit='s')
works for me.