I have a csv file consists of data (column = 'date') similar to 2017-W01, 2017-W02, 2018-W07 and so on. How can I make Python read this as date?
I have tried indexing the date column
import pandas as pd
df = pd.read_csv(r'input.csv', parse_dates=True, index_col='date')
df.head()