Closed jeffreybreen closed 5 years ago
Also -- import seaborn as sns
is missing from this workbook
Hi Jeffrey, the first error shows up because pandas expects a MultiIndex
to be sorted as the error message indicates. You can achieve this by calling .sort_index()
. For some reason, I'm not getting this error but I've added the .sort_index()
step to the create_datasets
notebook to make sure the data is stored in sorted form.
You're right on seaborn
. I've been using a template that automatically imports a few packages and forgot to add explicit import statements. It's probably missing from a few others as well, I'll review and update accordingly, thanks for letting me know.
Hi:
I created the
assets.h5
file withdata/create_datasets.ipynb
and it looks fine:However,
04_alpha_factor_research/00_data/feature_engineering.ipynb
throws the following error when it tries to read and filter the prices data set:The prices data seems fine -- it just appears to be the filtering which is breaking.
I am still fairly new to Pandas, but I got the filter to work by explicitly creating a date range:
Thanks! Jeffrey