I want to find the week number of a date column in my datasets. The date is in the format "2020-09-27 07:14:01.114051200"
. However I could not convert to week number.
I tried the below code:
date=mydate.strftime("%W")
I'm getting this error: AttributeError: 'Series' object has no attribute 'strftime'