Section 3 Unit 3. deprecated method: rolling_mean

rolling mean pandas method taught in the course is deprecated. isn't it?  Please, reply with the updated method

You can use "pandas.DataFrame.rolling" instead of "rolling_mean". The "DataFrame.rolling()" API returns a window object for which you can use methods like mean and std. For example , "pandas.DataFrame.rolling().mean()"  https://pandas.pydata.org/pandas-docs/version/0.23.4/generated/pandas.DataFrame.rolling.html