how to do moving average in python?

How to Perform Moving Average in PythonThe moving average is a popular statistical tool used to estimate the average value of a series of data points over a specific time period.