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 conda
$ conda install pandas-gbq --channel conda-forge
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.17.2.tar.gz
(47.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pandas-gbq-0.17.2.tar.gz.
File metadata
- Download URL: pandas-gbq-0.17.2.tar.gz
- Upload date:
- Size: 47.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6d88090eedfb188ea6275d8812ff0cb876754e168760bd446b8d0fe242eae52
|
|
| MD5 |
c07a62c429ab4fd94aa08179549b7448
|
|
| BLAKE2b-256 |
c17377d51de7fc8719b7f3f39c3732745cdb0facb368336337d1b5e5534b4548
|
File details
Details for the file pandas_gbq-0.17.2-py2.py3-none-any.whl.
File metadata
- Download URL: pandas_gbq-0.17.2-py2.py3-none-any.whl
- Upload date:
- Size: 24.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10e9faf61b693b96cc4d17ba3bcc03f8711ea81530e0adeecf59505674821289
|
|
| MD5 |
aad7f7884ec2552426ea489940d7fae2
|
|
| BLAKE2b-256 |
3fc2404e3b49db36c7b61dfa746acb44136d4a1cbb868b2cabf193ccaf716827
|