Convert DataFrame timestamp column to Data Type and split Date and Hour

Hello everybody, I need to Convert DataFrame timestamp column to Data Type and split Date and Hour, I have this column:


I try to use the function unix2datetime(x) but I don’t know how we can do with a column in a DataFrame, I try the next line of code:

eventsDataFrame[!,[:timecreated]] = convert.(unix2datetime(eventsDataFrame[!,[:timecreated]]))

Then, I need to convert to Date formant and split into two news columns wit the Date and the Hour.

Thanks for your help

Don’t index the data frame with a vector, use df[!, :timecreated] instead of df[!, [:timecreated]].