From 41b94059aab19c8616efb8d54728a5ee58d9cf97 Mon Sep 17 00:00:00 2001 From: Yang <3349368+m3ngyang@users.noreply.github.com> Date: Sun, 2 Jun 2024 06:54:39 +0800 Subject: [PATCH] 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 --- scripts/data_collector/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/data_collector/base.py b/scripts/data_collector/base.py index 2517e9bce..2efc2fead 100644 --- a/scripts/data_collector/base.py +++ b/scripts/data_collector/base.py @@ -301,6 +301,7 @@ class Normalize: 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) if df is not None and not df.empty: if self._end_date is not None: