下面的代码中有一个
%
,来自于Python中的ARIMA模型。
from statsmodels.tsa.stattools import adfuller
from numpy import log
result = adfuller(df.value.dropna())
print('ADF Statistic: %f' % result[0])
print('p-value: %f' % result[1])
我对
%
在 print 语句(最后一行)中的作用感到困惑。它对结果有什么作用?
或者说,它代表的是mod吗?
谢谢!