Skip to content

Commit 3f9807d

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_doc/examples/ml/plot_template_data.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ def split_train_test(table, cible):
8787

8888
train_X = X[train_test].drop(drop, axis=1)
8989
train_y = y[train_test]
90-
test_X = X[train_test].drop(drop, axis=1)
91-
test_y = y[train_test]
90+
test_X = X[~train_test].drop(drop, axis=1)
91+
test_y = y[~train_test]
9292
return train_X, test_X, train_y, test_y
9393

9494

0 commit comments

Comments
 (0)