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.22.0.tar.gz
(50.2 kB
view hashes)
Built Distribution
Close
Hashes for pandas_gbq-0.22.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3bc1f9903928e4923dc5ff7f29fad9e9799aa406058567f1c654d934bf41323 |
|
MD5 | 836f0917f8a9a8750fc4458ceb2baed0 |
|
BLAKE2b-256 | aa6e790bc8f92a8f8334ad4cc899047ebe1013da494be4d5983d92fa6f44f7cd |