I am getting a list of dates in the format
Date
20180223
20180120
20180201
I want to get the week numbers for these in a new column
Date Week_num
20180223 8
20180120 3
20180210 6
The code being used to get the date here is :
yyyymmdd= (dt.datetime.today()-timedelta(days=1)+timedelta(hours=5.3)).strftime('%Y%m%d')
I need help with getting the weeks for the same.