Skip to main content

Google BigQuery connector for pandas

Project description

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.

Project details


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.7.tar.gz (48.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pandas_gbq-0.17.7-py2.py3-none-any.whl (25.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pandas-gbq-0.17.7.tar.gz.

File metadata

  • Download URL: pandas-gbq-0.17.7.tar.gz
  • Upload date:
  • Size: 48.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.0

File hashes

Hashes for pandas-gbq-0.17.7.tar.gz
Algorithm Hash digest
SHA256 c02568ad346afa6f0d3ddc5d6dbc1b8d73cc2b6dd60f9b7a3b2fce2bb757f814
MD5 d8275c590b816abcf1b90ffc2acf5e23
BLAKE2b-256 ffdb7e9f939dd1468de18e129ffab0f53b72ac6bfbad83dcf7b382bc998246e9

See more details on using hashes here.

File details

Details for the file pandas_gbq-0.17.7-py2.py3-none-any.whl.

File metadata

  • Download URL: pandas_gbq-0.17.7-py2.py3-none-any.whl
  • Upload date:
  • Size: 25.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.0

File hashes

Hashes for pandas_gbq-0.17.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c9da56b0668e8622171dc85447e717579b90d4685bbe989ee39821e6502e400f
MD5 5706b89a5ac03256202ad96855469285
BLAKE2b-256 755d14cb1c6d9ab9f8e7e82391aad371ca9747f37fae7543721769ef456b3534

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page