Stefan Jansen
Stefan Jansen
Hi @silent0506, this looks like a version conflict. Which alphalens, pandas etc versions are you using?
Thank you! I'll keep this open in the hope that others will also contribute any errors they come across so I can fix them in the next edition.
@drsx the issue was a missing `inplace=True` when renaming the index to `date_time`, which I have fixed.
A [new release](https://www.linkedin.com/feed/update/urn:li:activity:6785002708299522048/) of Zipline now supports Python 3.7+.
A [new release](https://www.linkedin.com/feed/update/urn:li:activity:6785002708299522048/) of Zipline now supports Python 3.7+.
You can also find the Zipline docs [here](https://zipline.ml4trading.io/).
You can also find the Zipline docs [here](https://zipline.ml4trading.io/).
A [new release](https://www.linkedin.com/feed/update/urn:li:activity:6785002708299522048/) of Zipline now supports Python 3.7+.
There's a [parameter](https://lifetimes.readthedocs.io/en/latest/lifetimes.html#lifetimes.plotting.plot_frequency_recency_matrix) `T` for the forecast horizon. It defaults to 1 but you could increase it.
There have been several updates to the open AI gym since publication. Please either use the version that was current at publication (around 2020/06) or update the code accordingly.