https://mingredbestcheapprice.blogspot.com/2024/02/using-rollingapply-with-function-that.html
Using Rolling_apply With A Function That Requires 2 Arguments In Pandas