Learn how to calculate moving average in Python with NumPy.