pandas-gbq is a package providing an interface to the Google BigQuery API from pandas.
Installation
Install latest release version via pip
$ pip install pandas-gbq
Install latest development version
$ pip install git+https://github.com/googleapis/google-cloud-python.git
Usage
Perform a query
import pandas_gbq
# If running in your local environment or Colab, use the code below and specify your GCP project ID
# result_dataframe = pandas_gbq.read_gbq("SELECT * FROM bigquery-public-data.usa_names.usa_1910_2013 LIMIT 10", project_id="your-project-id")
result_dataframe = pandas_gbq.read_gbq("SELECT column FROM dataset.table WHERE value = 'something'")
Upload a dataframe
import pandas_gbq
pandas_gbq.to_gbq(dataframe, "dataset.table")
More samples
See the pandas-gbq documentation for more details.
Release files for pandas-gbq 0.35.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pandas_gbq-0.35.2.tar.gz | 81.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pandas_gbq-0.35.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 133.8 kB
Release files / pandas_gbq-0.35.2.tar.gz
| Download URL | pandas_gbq-0.35.2.tar.gz |
|---|---|
| Size | 81.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3613f203e0ad9cbe38709fcb9b4c2c9af1fdb46bed333219b34a639142850806
|
|
BLAKE2b-256 checksum How to use checksums |
f37b51b17494ef810bc5fb73c99b205480cb264093217bbc0f6a3fd0836e0236
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.2.0 CPython/3.11.2
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by Google Cloud, verified by PyPI on Aug 25, 2026.
Transparency logRelease files / pandas_gbq-0.35.2-py3-none-any.whl
| Download URL | pandas_gbq-0.35.2-py3-none-any.whl |
|---|---|
| Size | 51.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b74187ec91b25ca4818b14343f7a765a7ee8f7b3ed7e8d1e428e9e8a2094b0e8
|
|
BLAKE2b-256 checksum How to use checksums |
dbf38a6d47e44743053eaba0a56c17e6e7660fc913252ebf3b13fc9ea5c2a065
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.2.0 CPython/3.11.2
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by Google Cloud, verified by PyPI on Aug 25, 2026.
Transparency log