From 11ea637c6124e26c7d8971fb1979991a32c59758 Mon Sep 17 00:00:00 2001 From: Nico9803 <136307868+Nico9803@users.noreply.github.com> Date: Tue, 19 Dec 2023 18:09:41 +0100 Subject: [PATCH] Update sklearn_questions v4.py --- sklearn_questions.py | 1 - 1 file changed, 1 deletion(-) diff --git a/sklearn_questions.py b/sklearn_questions.py index 5811ce9..1ca1fbe 100644 --- a/sklearn_questions.py +++ b/sklearn_questions.py @@ -174,7 +174,6 @@ def get_n_splits(self, X, y=None, groups=None): n_splits : int The number of splits. """ - if self.time_col == "index": if not is_datetime64_any_dtype(X.index): raise ValueError("it is not datetime")