Dates in DataFrames

Hi,

I (think I) have a vector of dates in rdat. At least, typeof.(rdat) returns a lot of Date.

So I’m confused as to why tmp = DataFrame(td = rdat) returns a DataFrame with the column td listed as a vector of type Any.

More importantly, how do I get a vector of Dates into a DataFrame as a vector of Dates?

TIA.

D.

If there are only Date in the vector, you should be able to fix it by doing identity.(v) (note the dot) or Vector{Date}(v).