Find the most recent data available and the year it corresponds to

I have a data set containing an index for different years and countries. It's a csv and I read it using Pandas.

There are a lot of missing values for the index, so I want to create new columns with the most recent data available and the year it corresponds to. I have no idea how to code that in Python.

enter image description here