From 79e27f435a18a1e9a1b69a7fd57723bd7a650015 Mon Sep 17 00:00:00 2001 From: alexmindset Date: Thu, 5 Oct 2023 00:41:14 +0300 Subject: [PATCH] Minor fixes --- insolver/model_tools/model_comparison.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/insolver/model_tools/model_comparison.py b/insolver/model_tools/model_comparison.py index 59cf843..87908c0 100644 --- a/insolver/model_tools/model_comparison.py +++ b/insolver/model_tools/model_comparison.py @@ -280,5 +280,5 @@ def _calc_metrics(self): stats_df = stats_df[list(stats_df.columns[-2:]) + list(stats_df.columns[:-2])] model_metrics = model_metrics[list(model_metrics.columns[-2:]) + list(model_metrics.columns[:-2])] - self.stats_results = self.stats_results.append(stats_df) - self.metrics_results = self.metrics_results.append(model_metrics) + self.stats_results = concat([self.stats_results, stats_df]) + self.metrics_results = concat([self.metrics_results, model_metrics])