Hi all, I got two 'warning' messages in building process. See below: The backtest went fine.

import numpy as np
import pandas as pd
from scipy import stats
import statsmodels.api as sm

p1 = sm.add_constant(df[col], prepend=True)
slopes[col] = sm.OLS(x, p1).fit().params[col]

39 | 10:22:06:

Build Warning: File: n/a Line:0 Column:0 - /usr/local/lib/python2.7/dist-packages/statsmodels/compat/pandas.py:56: FutureWarning: The pandas.core.datetools module is deprecated and will be removed in a future version. Please use the pandas.tseries module instead.

40 | 10:22:06:

Build Warning: File: n/a Line:0 Column:0 - from pandas.core import datetools

Do I need to fix something in importing library? If so, what is it? Thanks :)

Author