Skip to content

Commit fdcb0cc

Browse files
committed
Fix jupyter notebook
1 parent 7249c01 commit fdcb0cc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/modules/ROOT/pages/tutorials/import-sample-export-gnn.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ print(data)
238238
----
239239
# Do a random split of the data so that ~10% goes into a test set and the rest used for training
240240
transform = RandomNodeSplit(num_test=40, num_val=0)
241-
_ = transform(data)
241+
data = transform(data)
242242
243243
# We can see that our `data` object have been extended with some masks defining the split
244244
print(data)

examples/import-sample-export-gnn.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@
373373
"source": [
374374
"# Do a random split of the data so that ~10% goes into a test set and the rest used for training\n",
375375
"transform = RandomNodeSplit(num_test=40, num_val=0)\n",
376-
"_ = transform(data)\n",
376+
"data = transform(data)\n",
377377
"\n",
378378
"# We can see that our `data` object have been extended with some masks defining the split\n",
379379
"print(data)\n",

0 commit comments

Comments
 (0)