Skip to content

Commit 4e59912

Browse files
committed
fix
1 parent b3534d6 commit 4e59912

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

_doc/examples/ml/plot_template_data.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,7 @@ def make_pipeline(table, cible):
105105
if num_cols:
106106
transformers.append(("num", StandardScaler(), num_cols))
107107
if cat_cols:
108-
transformers.append(
109-
("cats", OneHotEncoder(handle_unknown="ignore"), cat_cols)
110-
)
108+
transformers.append(("cats", OneHotEncoder(handle_unknown="ignore"), cat_cols))
111109

112110
model = Pipeline(
113111
[

0 commit comments

Comments
 (0)