From 58f13cb9ef8bac3222e5013d8ae77dd20f886e30 Mon Sep 17 00:00:00 2001 From: Shuowei Li Date: Mon, 6 Jan 2025 19:28:59 -0800 Subject: [PATCH] docs: add bq studio links that allows users to generate Jupiter notebooks in bq studio with github contents (#1266) * add new bq studio links that allows users to self import .ipynb from github * revert semantic_operators * add bq studio link for semantic_operators.ipynb --------- Co-authored-by: Shuowei Li --- .../experimental/semantic_operators.ipynb | 936 +++++++++--------- .../bq_dataframes_llm_code_generation.ipynb | 6 + .../bq_dataframes_llm_kmeans.ipynb | 6 + ...q_dataframes_ml_drug_name_generation.ipynb | 6 + .../bq_dataframes_template.ipynb | 7 + .../getting_started_bq_dataframes.ipynb | 6 + .../ml_fundamentals_bq_dataframes.ipynb | 6 + .../bq_dataframes_ml_linear_regression.ipynb | 6 + .../remote_function_vertex_claude_model.ipynb | 6 + .../bq_dataframes_covid_line_graphs.ipynb | 6 + 10 files changed, 526 insertions(+), 465 deletions(-) diff --git a/notebooks/experimental/semantic_operators.ipynb b/notebooks/experimental/semantic_operators.ipynb index f9c7f67358..b3b989dd43 100644 --- a/notebooks/experimental/semantic_operators.ipynb +++ b/notebooks/experimental/semantic_operators.ipynb @@ -44,6 +44,12 @@ " View on GitHub\n", " \n", " \n", + " \n", + " \n", + " \"BQ\n", + " Open in BQ Studio\n", + " \n", + " \n", "" ] }, @@ -135,24 +141,24 @@ }, { "cell_type": "markdown", - "source": [ - "Specify your GCP project and location." - ], "metadata": { "id": "W8TPUvnsqxhv" - } + }, + "source": [ + "Specify your GCP project and location." + ] }, { "cell_type": "code", - "source": [ - "bpd.options.bigquery.project = 'YOUR_PROJECT_ID'\n", - "bpd.options.bigquery.location = 'US'" - ], + "execution_count": null, "metadata": { "id": "vCkraKOeqJFl" }, - "execution_count": null, - "outputs": [] + "outputs": [], + "source": [ + "bpd.options.bigquery.project = 'YOUR_PROJECT_ID'\n", + "bpd.options.bigquery.location = 'US'" + ] }, { "cell_type": "markdown", @@ -293,16 +299,7 @@ }, "outputs": [ { - "output_type": "execute_result", "data": { - "text/plain": [ - " country city\n", - "0 USA Seattle\n", - "1 Germany Berlin\n", - "2 Japan Kyoto\n", - "\n", - "[3 rows x 2 columns]" - ], "text/html": [ "
\n", "