input:
data["Date"] = ["2005-01-01", "2005-01-02" , ""2005-01-03" ,..., "2014-12-30","2014-12-31"]
how can i sort the column such that the column gives 1st date of every year, 2nd date of every and so on:
i.e.
output:
data["Date"] = ["2005-01-01","2006-01-01","2007-01-01", ... "2013-12-31","2014-12-31"]
NOTE: assuming the date column has no leap days