I have a df_mixed column containing data in yyyyww format, eg: 201501, 201502…etc I have to extract the last date of the week and put it in ds column.
For eg: For 201501, last day of week 1 is 4-1-2015 For 201502, last day is 11-1-2015
I have to follow the ISO format. According to the ISO format the 1st week of 2015 starts from 29th December 2014 and ends on 4th January 2015
Any idea how to go about it using python, pandas and datetime library?