mirror of
https://github.com/microsoft/qlib.git
synced 2026-06-06 05:51:17 +08:00
fix panic during normalizing the invalid data (#1698)
* fix panic during normalizing the invalid data * fix yaml load * change error to warning * change error code * optimize code --------- Co-authored-by: Linlang <Lv.Linlang@hotmail.com>
This commit is contained in:
@@ -301,6 +301,7 @@ class Normalize:
|
|||||||
na_values={col: symbol_na if col == self._symbol_field_name else default_na for col in columns},
|
na_values={col: symbol_na if col == self._symbol_field_name else default_na for col in columns},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# NOTE: It has been reported that there may be some problems here, and the specific issues will be dealt with when they are identified.
|
||||||
df = self._normalize_obj.normalize(df)
|
df = self._normalize_obj.normalize(df)
|
||||||
if df is not None and not df.empty:
|
if df is not None and not df.empty:
|
||||||
if self._end_date is not None:
|
if self._end_date is not None:
|
||||||
|
|||||||
Reference in New Issue
Block a user