Python merencanakan rata -rata bergerak

#Plot the moving average that is the result of the rolling window
r90 = data.rolling(window=90).mean() #<---- Moving Average
data.join(r90.add_suffix(' MA 90')).plot(figsize=(8,8))
plt.show()
M.U