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

+2,245-2,197
Large diffs are not rendered by default.

notebooks/generative_ai/bq_dataframes_llm_code_generation.ipynb

+88-64
Large diffs are not rendered by default.

notebooks/generative_ai/bq_dataframes_llm_kmeans.ipynb

+236-226
Large diffs are not rendered by default.

notebooks/generative_ai/bq_dataframes_ml_drug_name_generation.ipynb

+7
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

+858-48
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)