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

Uploaded Source

Built Distribution

pandas_gbq-0.23.0-py2.py3-none-any.whl (28.1 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: pandas-gbq-0.23.0.tar.gz
  • Upload date:
  • Size: 51.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for pandas-gbq-0.23.0.tar.gz
Algorithm Hash digest
SHA256 469b75a2adf6bfc8cd34d9eead9e67a05e0d313f194d702e2ce776f7e6a4c5ee
MD5 429d48f06b3d6a1c706dde74e1e921e8
BLAKE2b-256 c3b62403e1245c7275922fc4f0b71ce801609dc44719fefc7c1c2c893ed942d2

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for pandas_gbq-0.23.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7abed31890419360df08a2c7359228999ce9173ef788564c19d5bc29e6e1b720
MD5 70470d291f0348224a10ff74f7766a79
BLAKE2b-256 6c23653a64d19f7471b0d42d8cb2c9cc56682559c2c0aeb164253c297f53cfae

See more details on using hashes here.

Provenance

Supported by

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