Google BigQuery connector for pandas
Project description
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/python-bigquery-pandas.git
Usage
Perform a query
import pandas_gbq
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pandas_gbq-0.26.1.tar.gz
(62.7 kB
view details)
Built Distribution
File details
Details for the file pandas_gbq-0.26.1.tar.gz
.
File metadata
- Download URL: pandas_gbq-0.26.1.tar.gz
- Upload date:
- Size: 62.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c5a4478ca822e857bcc853a5e8999273a147ffffbc44a38dde93fd9c4f240bb |
|
MD5 | 31961ae897faf44d3be529c085b04bae |
|
BLAKE2b-256 | 805a85122a3f46d1749b083c4679add5af68a8b0e5332af897a76c5eca05646f |
File details
Details for the file pandas_gbq-0.26.1-py2.py3-none-any.whl
.
File metadata
- Download URL: pandas_gbq-0.26.1-py2.py3-none-any.whl
- Upload date:
- Size: 37.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 327ba959fb9520356f32294fa6028a6fbeccbb4c64d09658363140f7303599a8 |
|
MD5 | 9127238c6d7f454d55b6abca45a8b165 |
|
BLAKE2b-256 | 81f5e6821937a5a08654e7550ebc3853ccbc2bfe411a0f6f5928b7e9d8876d99 |