Finding the average of a list
I have to find the average of a list in Python. This is my code so far
I have to find the average of a list in Python. This is my code so far
I am playing in Python a bit again, and I found a neat book with examples. One of the examples is to plot some data. I have a .txt file with two columns and I have the data. I plotted the data just fine, but in the exercise it says: Modify your program further to calculate and plot the running average of the data, defined by:
I have a range of dates and a measurement on each of those dates. I’d like to calculate an exponential moving average for each of the dates. Does anybody know how to do this?