GriffinAustin / pynance

Lightweight Python library for assembling and analysing financial data
MIT License
317 stars 43 forks source link

Replace deprecated `pandas.rolling_std` #29

Closed aisthesis closed 8 years ago

aisthesis commented 8 years ago

Output from consuming code:

/Users/marshallfarrier/venv/predict/lib/python3.5/site-packages/pynance/tech/movave.py:141: FutureWarning: pd.rolling_std is deprecated for DataFrame and will be removed in a future version, replace with 
    DataFrame.rolling(center=False,window=20).std()
  _risk.loc[:, _colname] = pd.rolling_std(_eqdata, window=_window).values.flatten()