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")