Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit ada2445

Browse files
committed
docs: ensure df_image is limited to 5 rows before assignment in notebook
1 parent 91fdf0d commit ada2445

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

notebooks/multimodal/multimodal_dataframe.ipynb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,7 @@
504504
],
505505
"source": [
506506
"# Combine unstructured data with structured data\n",
507+
"df_image = df_image.head(5)\n",
507508
"df_image[\"author\"] = [\"alice\", \"bob\", \"bob\", \"alice\", \"bob\"] # type: ignore\n",
508509
"df_image[\"content_type\"] = get_content_type(df_image[\"image\"])\n",
509510
"df_image[\"size\"] = get_size(df_image[\"image\"])\n",

0 commit comments

Comments
 (0)