Skip to content

Commit b6c4a08

Browse files
committed
docs: add project ID to pandas-gbq run sample
1 parent 4253fab commit b6c4a08

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

packages/pandas-gbq/README.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,15 @@ Perform a query
4545
4646
import pandas_gbq
4747
48+
# If running in your local environment or Colab, use the code below and specify the GCP project ID "PROJECT_ID"
49+
# result_dataframe = pandas_gbq.read_gbq("SELECT * FROM bigquery-public-data.usa_names.usa_1910_2013 LIMIT 10", project_id=PROJECT_ID)
50+
4851
result_dataframe = pandas_gbq.read_gbq("SELECT column FROM dataset.table WHERE value = 'something'")
4952
53+
.. note::
54+
55+
A Google Cloud project ID can be quickly obtained as described `here <https://docs.cloud.google.com/bigquery/docs/sandbox>`_.
56+
5057
Upload a dataframe
5158
~~~~~~~~~~~~~~~~~~
5259

0 commit comments

Comments
 (0)