I want to draw a trendline for this dataframe separately for each country. What would be the python syntax for that? Image of data here.
ghg["Net Emissions"]=ghg.sum(axis=1)
aa=sorted.iloc[0:10]
aaa=aa.head(10)
sns.catplot(x="Country", y="Net Emissions", kind="bar", data=aaa,height=5, aspect=25/8)
I tried this code for barplot but I want a trendline separetly for each row.