Skip to content

Commit

Permalink
Hotfix: Series to Array
Browse files Browse the repository at this point in the history
  • Loading branch information
Adversarian committed Jul 22, 2023
1 parent 607b0de commit e293d83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion RACER/preprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def fit_transform(
"""
X, y = pd.DataFrame(X), pd.DataFrame(y)
if self._quantizer == "infer":
uniques = y.nunique()
uniques = y.nunique().values
if uniques > 2:
self._quantizer = MOB(max_candidates=self._max_num_splits)
else:
Expand Down
2 changes: 1 addition & 1 deletion RACER/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.1.1"
__version__ = "1.1.2"

0 comments on commit e293d83

Please sign in to comment.