From f43a3ddf30a1316742fb7f6bbfa4ad3d260ab1a8 Mon Sep 17 00:00:00 2001 From: seolmin Date: Mon, 30 Dec 2024 17:00:51 +0900 Subject: [PATCH] fix: add debug code for time diff options Signed-off-by: seolmin --- .../dashboard/manager/data_table_manager/data_source_manager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/spaceone/dashboard/manager/data_table_manager/data_source_manager.py b/src/spaceone/dashboard/manager/data_table_manager/data_source_manager.py index 49cd6d1..650cb9c 100644 --- a/src/spaceone/dashboard/manager/data_table_manager/data_source_manager.py +++ b/src/spaceone/dashboard/manager/data_table_manager/data_source_manager.py @@ -193,6 +193,8 @@ def _apply_timediff( elif self.source_type == "ASSET": self._analyze_asset(granularity, start, end, vars) _LOGGER.debug(f"[timediff] {self.timediff}") + _LOGGER.debug(f"[origin_df column] {origin_df.columns}") + _LOGGER.debug(f"[self.df column] {self.df.columns}") self.df["Date"] = self.df["Date"].apply( lambda x: self._change_date_by_timediff(x) )