My data is organized like this:

Where country code is the index of the data frame and the columns are the years for the data. First, is it possible to plot line graphs (using matplotlib.pylot) over time for each country without transforming the data any further?
Second, if the above is not possible, how can I make the columns the index of the table so I can plot time series line graphs?
Trying df.t gives me this:

How can I make the dates the index now?

df = df[df.index != 'Country Code']before transposing, ordel df['Country Code']after.