kiraksi / python-bigquery-pandas

Google BigQuery connector for pandas

Home Page:https://googleapis.dev/python/pandas-gbq/latest/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pandas-gbq

preview pypi versions

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.

About

Google BigQuery connector for pandas

https://googleapis.dev/python/pandas-gbq/latest/index.html

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 88.9%Language:Shell 10.4%Language:Dockerfile 0.7%