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.19.1.tar.gz
(48.4 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.19.1.tar.gz.
File metadata
- Download URL: pandas-gbq-0.19.1.tar.gz
- Upload date:
- Size: 48.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c31255cf23316c574ed06d8cbfb4240f487d691f39dcdc2e9192153c08351da4
|
|
| MD5 |
81652bad29db83bd02aa7e71adadd69e
|
|
| BLAKE2b-256 |
39361cbd7cfcd830035c11877092d68c47bec98ee42a96f8eb4e2952f6c9257b
|
File details
Details for the file pandas_gbq-0.19.1-py2.py3-none-any.whl.
File metadata
- Download URL: pandas_gbq-0.19.1-py2.py3-none-any.whl
- Upload date:
- Size: 25.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8733d78e169b0c4506ca7314c113e3240cf2b2accd83ba5cf456f1d13d79ebd3
|
|
| MD5 |
b604695d928217fbb85b7ea563866b02
|
|
| BLAKE2b-256 |
ae076dba8f17d8a4edf7514a2c051a4747e73ecc6c869ad8b769c90c8258253f
|