PacktPublishing / Learn-Algorithmic-Trading

Learn Algorithmic Trading, Published by Packt
MIT License
802 stars 302 forks source link

Update seasonality.py #13

Closed 512jay closed 2 years ago

512jay commented 2 years ago

When running the code I get a KeyError 0, the above changes provide a fix.

512jay commented 2 years ago

Looks like it does not generate the correct results