Happy new year all,
I am trying to convert the following Pine function (exponentially weighted moving average with alpha = 1 / length) into Python to apply to a Panda