From c08cd4b52120ae9ab9e86dc5858259770310ec6d Mon Sep 17 00:00:00 2001 From: rozetko Date: Tue, 5 Jun 2018 20:17:59 +0300 Subject: [PATCH] 151-fix-error-on-second-learning --- analytics/data_preprocessor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analytics/data_preprocessor.py b/analytics/data_preprocessor.py index 9728c56..b6d5b9c 100644 --- a/analytics/data_preprocessor.py +++ b/analytics/data_preprocessor.py @@ -66,7 +66,7 @@ class data_preprocessor: augmented = self.__get_data(start_frame, stop_frame) if len(anomalies) > 0: anomalies_indexes = self.transform_anomalies(anomalies) - augmented = augmented.drop(anomalies_indexes) + augmented = augmented.drop(anomalies_indexes[:-1]) return augmented