Hi i have a pandas columns named YearWeekISO that has the YYYY- WNN date format, for instance 2020-W53. I want to convert that whole column to a date time format of day-month-year.
This is the code i am using: pd.to_datetime(df['YearWeekISO'], format="%Y-W%U").dt.strftime("%d/%m/%Y")
This is the error output: Cannot use '%W' or '%U' without day and year
Thanks,best regards