Skip to content

Commit 08d70b6

Browse files
authored
docs: include import statement in the bigframes code snippet (#1699)
This change improves the code snippet in https://cloud.google.com/bigquery/docs/explore-data-colab#explore_the_data
1 parent 8b30143 commit 08d70b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/snippets/explore_query_result_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414

1515

1616
def test_bigquery_dataframes_explore_query_result() -> None:
17+
# [START bigquery_dataframes_explore_query_result]
1718
import bigframes.pandas as bpd
1819

19-
# [START bigquery_dataframes_explore_query_result]
2020
# Load data from BigQuery
2121
query_or_table = "bigquery-public-data.ml_datasets.penguins"
2222
bq_df = bpd.read_gbq(query_or_table)

0 commit comments

Comments
 (0)