-1
株価の回帰コードのスニペット意味[: - forecast_out + 1] [: - forecast_out + 1]
forecast_col='Adj. Close'
forecast_out=int(math.ceil(0.01*len(df)))
df['label']=df[forecast_col].shift(-forecast_out)
X=X[:-forecast_out+1]
データ - Xの=のXの意味は何ですか?