报错,数据提取失败
由bq30zy4n创建,最终由small_q 被浏览 17 用户
我想做个龙虎榜的因子,这个为什么会报错
[2023-12-11 01:47:29.977443] INFO derived_feature_extractor: 提取完成 type=type, 0.003s
- INFO:derived_feature_extractor:提取完成 type=type, 0.003s
- [2023-12-11 01:47:29.986332] INFO derived_feature_extractor: 提取完成 operatedept_code=operatedept_code, 0.003s
- INFO:derived_feature_extractor:提取完成 operatedept_code=operatedept_code, 0.003s
- [2023-12-11 01:47:30.001002] INFO derived_feature_extractor: 提取失败 zt=((type == '买入金额最大的前5名') & ((where(operatedept_code == '10428246', 1, 0)) + (where(operatedept_code == '10472087', 1, 0)) + (where(operatedept_code == '10484371', 1, 0)) + (where(operatedept_code == '10495103', 1, 0)) + (where(operatedept_code == '10708576', 1, 0)))): unknown type object
- INFO:derived_feature_extractor:提取失败 zt=((type == '买入金额最大的前5名') & ((where(operatedept_code == '10428246', 1, 0)) + (where(operatedept_code == '10472087', 1, 0)) + (where(operatedept_code == '10484371', 1, 0)) + (where(operatedept_code == '10495103', 1, 0)) + (where(operatedept_code == '10708576', 1, 0)))): unknown type object
- [2023-12-11 01:47:38.732696] INFO derived_feature_extractor: /data, 300417
- INFO:derived_feature_extractor:/data, 300417
- [2023-12-11 01:47:39.177443] INFO: moduleinvoker:3501280136.py:71:<module> derived_feature_extractor.v3 运行完成[17.988949s].
#号开始的表示注释,注释需单独一行
多个特征,每行一个,可以包含基础特征和衍生特征,特征须为本平台特征
type=type operatedept_code=operatedept_code zt=((type == '买入金额最大的前5名') & ((where(operatedept_code == '10428246', 1, 0)) + (where(operatedept_code == '10472087', 1, 0)) + (where(operatedept_code == '10484371', 1, 0)) + (where(operatedept_code == '10495103', 1, 0)) + (where(operatedept_code == '10708576', 1, 0))))