Skip to content

Commit 00b5e8c

Browse files
authored
Apply suggestion from @solegalli
1 parent 6e14de3 commit 00b5e8c

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

feature_engine/creation/decision_tree_features.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,6 @@ def fit(self, X: IntoDataFrame, y: IntoSeries):
324324
check_classification_targets(y)
325325
self._is_binary = type_of_target(y)
326326

327-
# check_X_y validates X and normalises y; the checks below detect the
328327
# backend themselves, so keep working with the native X.
329328
_, y = check_X_y(X, y)
330329

0 commit comments

Comments
 (0)