dataquestio / project-walkthroughs

Data science, machine learning, and web development project code for https://www.youtube.com/c/Dataquestio .
900 stars 1.08k forks source link

Rolling average...closed='left' code gives "closed only implemented for datetimelike and offset based windows" #20

Open aolaloko opened 11 months ago

aolaloko commented 11 months ago

Int he football matches, prediction code, I am getting a "closed only implemented for datetimelike and offset based windows" when I run the rolling average function. Anyone have an idea why the closed parameter would give this issue? I don't fully understand the error it's giving.