Feature Extraction is not working #774
Unanswered
rabeya-akter
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have this dataframe:
2009-11-18 158.2 170.1 170.2 158.0 2730000.0 2 GRAE
2009-11-18 62.49 63.02 63.69 62.12 59540.0 2 SGBD
2009-11-18 50.47 50.23 50.81 50.05 3310000.0 2 SQPH
2009-11-19 164.0 158.1 167.9 52.0 1630000.0 3 GRAE
2009-11-19 62.09 62.21 63.47 61.89 69320.0 3 SGBD
but when I am using the feature extractor this block:
fe = FeatureEngineer(
use_technical_indicator=True,
tech_indicator_list = INDICATORS,
use_vix=True,
use_turbulence=True,
user_defined_feature = False)
processed = fe.preprocess_data(df)
it's showing me this error:
KeyError: "None of [Index(['tic', 'date', 'macd'], dtype='object')] are in the [columns]"
Beta Was this translation helpful? Give feedback.
All reactions