Skip to content
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
7 changes: 7 additions & 0 deletions packages/pandas-gbq/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,15 @@ Perform a query

import pandas_gbq

# If running in your local environment or Colab, use the code below and specify the GCP project ID "PROJECT_ID"
# result_dataframe = pandas_gbq.read_gbq("SELECT * FROM bigquery-public-data.usa_names.usa_1910_2013 LIMIT 10", project_id=PROJECT_ID)
Comment thread
shuoweil marked this conversation as resolved.
Outdated

result_dataframe = pandas_gbq.read_gbq("SELECT column FROM dataset.table WHERE value = 'something'")

.. note::

A Google Cloud project ID can be quickly obtained as described `here <https://docs.cloud.google.com/bigquery/docs/sandbox>`_.

Upload a dataframe
~~~~~~~~~~~~~~~~~~

Expand Down
Loading