Skip to content
This repository was archived by the owner on May 7, 2026. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
bpd -> bf
  • Loading branch information
Henry J Solberg committed Nov 8, 2023
commit a0556ccb9869f26d59b1c5162cd162ec256e72ef
10 changes: 5 additions & 5 deletions notebooks/generative_ai/bq_dataframes_llm_kmeans.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -348,10 +348,10 @@
},
"outputs": [],
"source": [
"import bigframes.pandas as bpd\n",
"import bigframes.pandas as bf\n",
"\n",
"bpd.options.bigquery.project = PROJECT_ID\n",
"bpd.options.bigquery.location = REGION"
"bf.options.bigquery.project = PROJECT_ID\n",
"bf.options.bigquery.location = REGION"
]
},
{
Expand All @@ -371,7 +371,7 @@
},
"outputs": [],
"source": [
"input_df = bpd.read_gbq(\"bigquery-public-data.cfpb_complaints.complaint_database\")"
"input_df = bf.read_gbq(\"bigquery-public-data.cfpb_complaints.complaint_database\")"
]
},
{
Expand Down Expand Up @@ -630,7 +630,7 @@
"outputs": [],
"source": [
"# Make a DataFrame containing only a single row with our prompt for PaLM 2\n",
"df = bpd.DataFrame({\"prompt\": [prompt]})"
"df = bf.DataFrame({\"prompt\": [prompt]})"
]
},
{
Expand Down