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.3.tar.gz
(47.3 kB
view hashes)
Built Distribution
Close
Hashes for pandas_gbq-0.17.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b03d43a2226b18693747d80cfc47ef2d6edd063d4e703ec75c4b0e6bd8fd683c |
|
MD5 | 1f8020aca40d9bc1e3bff92e21d78ec6 |
|
BLAKE2b-256 | 82079d78d1716e9bcf95601612508483a88272fe859e462c373073f92c589849 |