From a9c02c3e67a08f586ab7a21c93759c9ccd9e3a4a Mon Sep 17 00:00:00 2001 From: Wendy San Date: Tue, 19 Dec 2023 22:34:01 +0100 Subject: [PATCH] UP my solution --- sklearn_questions.py | 1 - 1 file changed, 1 deletion(-) diff --git a/sklearn_questions.py b/sklearn_questions.py index c351e5a..85dc239 100644 --- a/sklearn_questions.py +++ b/sklearn_questions.py @@ -203,7 +203,6 @@ def split(self, X, y, groups=None): idx_test : ndarray The testing set indices for that split. """ - X = X.reset_index() if not pd.api.types.is_datetime64_any_dtype(X[self.time_col]):