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.21.0.tar.gz
(50.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.21.0.tar.gz.
File metadata
- Download URL: pandas-gbq-0.21.0.tar.gz
- Upload date:
- Size: 50.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9c137430d34059f380af6c37781334d0be0a16021a8bdbf2836687e50ab63af
|
|
| MD5 |
2215a5fd6af496aa890ce5d3ca9e094a
|
|
| BLAKE2b-256 |
e5ac45f0705c29bdd9fecb6a4ab5fc8798cbcfc02ccf38eae1dff1b6f8d02cdf
|
File details
Details for the file pandas_gbq-0.21.0-py2.py3-none-any.whl.
File metadata
- Download URL: pandas_gbq-0.21.0-py2.py3-none-any.whl
- Upload date:
- Size: 26.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f82db5048e86516d7bafae68a911982c1f2590ea117ad72879cc981b050bf11
|
|
| MD5 |
b784aac859ff5cb6264da70b1089fb5f
|
|
| BLAKE2b-256 |
c1ab786aadb136d697b8a8708394fea15db2f95e62f38662724106f5d370aef1
|