fig, ax = plt.subplots(figsize=(8, 4))
ax.scatter(df.index, df.AdjClose)
ax.plot(df.index, df.fitted, 'r')
ax.set_ylabel('$')
fig.suptitle('Yahoo')
plt.show()
timeseries fitted values from trend python