Skip to content

Commit

Permalink
UP my solution
Browse files Browse the repository at this point in the history
  • Loading branch information
nadakass committed Dec 22, 2023
1 parent 41da450 commit a7c6597
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sklearn_questions.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,12 @@ def __init__(self, time_col='index'): # noqa: D107
self.time_col_ = time_col

def __repr__(self):
"""Return a string representation of the MonthlySplit object.
Parameters
----------
self.
"""
if self.time_col_ == 'index':
return "MonthlySplit(time_col='index')"
else:
Expand Down

0 comments on commit a7c6597

Please sign in to comment.