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

Commit 14efcd3

Browse files
authored
Update bq_dataframes_llm_output_schema.ipynb
1 parent 86c1c29 commit 14efcd3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

notebooks/generative_ai/bq_dataframes_llm_output_schema.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@
400400
" <tr style=\"text-align: right;\">\n",
401401
" <th></th>\n",
402402
" <th>city</th>\n",
403-
" <th>population_million</th>\n",
403+
" <th>population_in_millions</th>\n",
404404
" </tr>\n",
405405
" </thead>\n",
406406
" <tbody>\n",
@@ -425,7 +425,7 @@
425425
"</div>[3 rows x 2 columns in total]"
426426
],
427427
"text/plain": [
428-
" city population_million\n",
428+
" city population_in_millions\n",
429429
"0 Seattle 0.75\n",
430430
"1 New York 19.68\n",
431431
"2 Shanghai 26.32\n",
@@ -439,8 +439,8 @@
439439
}
440440
],
441441
"source": [
442-
"result = gemini.predict(df, prompt=[\"what is the population in millions of\", df[\"city\"]], output_schema={\"population_million\": \"float64\"})\n",
443-
"result[[\"city\", \"population_million\"]]"
442+
"result = gemini.predict(df, prompt=[\"what is the population in millions of\", df[\"city\"]], output_schema={\"population_in_millions\": \"float64\"})\n",
443+
"result[[\"city\", \"population_in_millions\"]]"
444444
]
445445
},
446446
{

0 commit comments

Comments
 (0)