GitHub - googleapis/python-bigquery-pandas: Google BigQuery connector for pandas (original) (raw)
pandas-gbq
pandas-gbq is a package providing an interface to the Google BigQuery API from pandas.
Installation
Install latest release version via pip
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.