Date formatting a data frame string column

julia

Solution

There is a `Date` constructor with an argument for the format, but the syntax is slightly different.

using Dates
Date( "20141123", DateFormat("yyyymmdd") )

Problem

Is there a way to do something like this (this is in R) ``` df$dataCol <- as.Date(df$dataCol, format="%Y%m%d") ``` where the dataCol is of the format "20151009". - Is there a way to change the column type to date in julia ? - I didnt find a way to do this with the Date.jl package.

Original source