PYTHON使用statsmodels库失败

#代码
import numpy
from statsmodels.tsa.stattools import adfuller
adfuller(numpy.random.rand(100))

提示的错误为
Warning (from warnings module):
File "C:\Python27\lib\site-packages\statsmodels\compat\pandas.py", line 56
from pandas.core import datetools
FutureWarning: The pandas.core.datetools module is deprecated and will be removed in a future version. Please use the pandas.tseries module instead.

这个并不是错误,指示剂警告。告诉你这个API有变化,以后建议用新的API

http://blog.csdn.net/qq_26948675/article/details/53483234