Suppose we have the following data frame:
date
<character>
Jan-2020
Feb-2020
When I try the following code to convert the column from character
to date
, I get the error: character string is not in a standard unambiguous format
.
df$date <- as.Date(df$date)
Can anyone suggest why?