Skip to content

Commit cf16c7a

Browse files
committed
Amend the example with dataset.export_data_rows for efficiency
1 parent 2d2377a commit cf16c7a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

examples/basics/batches.ipynb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,15 @@
201201
},
202202
"outputs": [],
203203
"source": [
204-
"data_rows = [dr.uid for dr in list(dataset.export_data_rows())]"
204+
"data_row_ids = [dr.uid for dr in dataset.export_data_rows()]"
205205
]
206206
},
207+
{
208+
"cell_type": "markdown",
209+
"id": "6699941a",
210+
"metadata": {},
211+
"source": []
212+
},
207213
{
208214
"cell_type": "markdown",
209215
"id": "B0UqO_O1V8ei",

0 commit comments

Comments
 (0)