Basic trendline in pandas plot

45 views Asked by At

I created plots from the data frame with pandas.

Example;

plt_promoted_followers = promoted_followers.plot(x="date", y="followers", color='red')
plt_promoted_followers.set(xlabel="Date", ylabel="Followers in billion")

I saw last of different methods, which is the easiest way to draw a trendline in this plot.

Sorry if it is so easy question :)

0

There are 0 answers