Skip to content

Commit 0de836b

Browse files
sdpythonCopilot
andauthored
Update _doc/examples/ml/plot_template_data.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 3f9807d commit 0de836b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

_doc/examples/ml/plot_template_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def split_train_test(table, cible):
9393

9494

9595
def make_pipeline(table, cible):
96-
vars = [c for c in table.columns if c != "cible"]
96+
vars = [c for c in table.columns if c != cible]
9797
num_cols = ["Capacité de l’établissement par formation"]
9898
cat_cols = [c for c in vars if c not in num_cols]
9999

0 commit comments

Comments
 (0)