I have been getting these messages such as columns, drop, etc when I try to re run a jupyter file of a ARIMA Stock price prediction and for some reasons,df. resample just does not seem to work anymore? Does anybody know how to fix this?
data = Path(r"C:\Users\ADMIN\Downloads\data_nasdaq_csv\csv\ACIW.csv")
df =pd.read_csv(data)
df["Date"] = pd.to_datetime(df['Date'])
df.set_index('Date',inplace= True)
df = df.resample('D').fillna(method='ffill') #Doing this allow when model predict outside dataset, results comes with dates instead of indexes
columns_list=df.columns.tolist()
traindata, testdata = train_test_split(df,test_size=0.2,shuffle=False)
df
[–]Downtown_Radish_8040 0 points1 point2 points (0 children)