mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-04 03:21:00 +08:00
fix bug in resam feature
This commit is contained in:
@@ -328,7 +328,7 @@ def resam_ts_data(
|
||||
if datetime_level:
|
||||
feature = feature.loc[selector_datetime]
|
||||
else:
|
||||
feature = feature.loc[(slice(None), selector_datetime)]
|
||||
feature = feature.loc(axis=0)[(slice(None), selector_datetime)]
|
||||
|
||||
if feature.empty:
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user