1.数据获取 import pandas as pd import datetime import pandas_datareader.data as web import matplotlib.pyplot as plt import seaborn as sns from statsmodels.tsa.arima_model import ARIMA from statsmodels.graphics.tsaplots import plot_acf, plot_pacf #可以适用接口从雅虎获取股票数据 start=datetime.datetime(2000,1,1) end=da