Video tutorial demonstrating the using of the pandas rolling method to calculate moving averages and other rolling window aggregations such as standard deviation often used in determining a securities historical volatility.
You can download the jupyter notebook and try it out on your own.