I have dataframe with a column which has some string values and some missing values. I wanted to convert this column into a DataTime column.
I have used the following code
df.dt = DateTime.(df.dt, dateformat"yyyy-mm-dd HH:MM:SS")
I am getting a MethodError: no method matching Int64(::Vector{Union{Missing, String31}})
so you need to figure out where those vectors come from, and then you can do passmissing as Rudi suggests once you’ve isolated the missings to scalar values.