This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pandas import read_csv | |
from pandas import datetime | |
from matplotlib import pyplot | |
from statsmodels.tsa.arima_model import ARIMA | |
from sklearn.metrics import mean_squared_error | |
from statsmodels.graphics.tsaplots import plot_acf, plot_pacf | |
file_path = "minyak-goreng-prices.csv" | |
# Parse the date into pandas.datetime |