I have a date column (object) in my df that looks like the format below.
I need to convert this column or create a new date column that contains a 5 digit Julian Date in the format of YYDDD
. Not sure how to do this in python/pandas
Date:
2016-03-28
2016-03-11
2016-03-12
2016-03-23
2016-03-04
2016-03-02
2016-03-30
2016-03-30
2016-03-13
2016-03-13
Essentially I want to create a new column in my df based off of the initial df['date'] column where df['date2'] is in the desired format.
so when date1 = "2016-03-28" date2 = 16088