Shown below are few details on a DataFrame.
Below is the syntax that is been used and do not get the expected output.
df = df.sort_values(by=['country','Year','Value'], ascending=[True,True,False])
df = df.drop_duplicates('country')
how could I get the expected output shown below