結果 : how to compute moving average in python