My data is formatted as shown in the picture what i want is for each location the highest mortality year in python pandas and the data shown in the image is a python pandas dataframe...
What i did want tried to get the max value by doing this df.max(axis=1) but that just returned the value not the key with it....