I\'m having problems with pd.rolling() method that returns several outputs even though the function returns a single value.
My objective is to: