Skip to content

Commit 1df0140

Browse files
authored
docs: indicate that project and location are optional in example notebooks (#451)
1 parent 14ab8d8 commit 1df0140

9 files changed

+7119
-2622
lines changed

notebooks/dataframes/dataframe.ipynb

Lines changed: 2245 additions & 2197 deletions
Large diffs are not rendered by default.

notebooks/generative_ai/bq_dataframes_llm_code_generation.ipynb

Lines changed: 88 additions & 64 deletions
Large diffs are not rendered by default.

notebooks/generative_ai/bq_dataframes_llm_kmeans.ipynb

Lines changed: 236 additions & 226 deletions
Large diffs are not rendered by default.

notebooks/generative_ai/bq_dataframes_ml_drug_name_generation.ipynb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,14 @@
371371
},
372372
"outputs": [],
373373
"source": [
374+
"# Note: The project option is not required in all environments.\n",
375+
"# On BigQuery Studio, the project ID is automatically detected.\n",
374376
"bpd.options.bigquery.project = PROJECT_ID\n",
377+
"\n",
378+
"# Note: The location option is not required.\n",
379+
"# It defaults to the location of the first table or query\n",
380+
"# passed to read_gbq(). For APIs where a location can't be\n",
381+
"# auto-detected, the location defaults to the \"US\" location.\n",
375382
"bpd.options.bigquery.location = LOCATION"
376383
]
377384
},

notebooks/getting_started/getting_started_bq_dataframes.ipynb

Lines changed: 858 additions & 48 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)