Skip to content

Commit

Permalink
UP my solution
Browse files Browse the repository at this point in the history
  • Loading branch information
RoadtoMil committed Dec 22, 2023
1 parent d471e71 commit 1b4a374
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sklearn_questions.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,6 @@ def split(self, X, y, groups=None):
idx_test : ndarray
The testing set indices for that split.
"""

if (X.reset_index().loc[:, self.time_col].dtype != "datetime64[ns]"):
raise ValueError(f"{self.time_col} must be of type datetime.")

Expand Down

0 comments on commit 1b4a374

Please sign in to comment.