From 57926881990e28b24c5f58a9ac84b0e735da012c Mon Sep 17 00:00:00 2001 From: Auto User Date: Fri, 20 Sep 2024 16:04:35 -0400 Subject: [PATCH] taking out time rh-pre-commit.version: 2.2.0 rh-pre-commit.check-secrets: ENABLED --- pkg/algorithms/cmr/cmr.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/algorithms/cmr/cmr.py b/pkg/algorithms/cmr/cmr.py index 9d55ecd..89f2ffc 100644 --- a/pkg/algorithms/cmr/cmr.py +++ b/pkg/algorithms/cmr/cmr.py @@ -56,14 +56,12 @@ def run_cmr(self, dataframe_list: pd.DataFrame): """ metric_columns = self.metrics_config.keys() change_points_by_metric={ k:[] for k in metric_columns } - max_date_time = pd.Timestamp.max.to_pydatetime() - max_time = max_date_time.timestamp() for column in metric_columns: change_point = ChangePoint(metric=column, index=1, - time=max_time, + time=0, stats=ComparativeStats( mean_1=dataframe_list[column][0], mean_2=dataframe_list[column][1],