Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Bit late but here, new to Python

Thank you for great tutorials, I am following along the lessons and trying to recreate the notebooks.

I used the rolling mean code i.e.,

MAVG = pd.rolling_mean(X, window=60) even though the chart returned back for the instrument I was trying to get. I did receive the below notification.

/venvs/py35/lib/python3.5/site-packages/ipykernel_launcher.py:1: FutureWarning: pd.rolling_mean is deprecated for Series and will be removed in a future version, replace with Series.rolling(center=False,window=60).mean()
"""Entry point for launching an IPython kernel.

I tried to change the code to
pd.rolling(window=60).mean(X)

it doesn't seems to work am I missing something? I am getting a feeling that I have to import IPython Kernel am I right? If so could you please assist how can I do that?

Appreciate your time and patience.
thanks