I have data set having columns
Country
2001
2002
2003
...
import python as pd
df=pd.DataFrame({"country":['India','UK','France','US','Nepal'],'2001':[1,2,3,4,5],
'2002':[1,2,3,4,5],'2003':[1,2,3,4,5],'2004':[1,2,3,4,5],
'2005':[1,2,3,4,5],'2006':[1,2,3,4,5]})
I want to pivot this table with three columns
Country
Year
Value
How should I extend my python code for the output above?