If your date column is a string of the format ‘2017-01-01’ you can use pandas astype to convert it to datetime . You can try it with other formats then ‘%Y-%m-%d’ but at least this works.
If your date column is a string of the format ‘2017-01-01’ you can use pandas astype to convert it to datetime . You can try it with other formats then ‘%Y-%m-%d’ but at least this works.