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 pip

$ pip install pandas-gbq

Install latest development version

$ pip install git+https://github.com/googleapis/google-cloud-python.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.35.0.tar.gz (79.2 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.35.0-py3-none-any.whl (50.8 kB view details)

Uploaded Python 3

File details

Details for the file pandas_gbq-0.35.0.tar.gz.

File metadata

  • Download URL: pandas_gbq-0.35.0.tar.gz
  • Upload date:
  • Size: 79.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for pandas_gbq-0.35.0.tar.gz
Algorithm Hash digest
SHA256 596c908487ef0649a161e86ef272c00c267e581b95dc5ee0dc3518545b33bcfc
MD5 4a5ca2f32a988992db2a15b57ec031e9
BLAKE2b-256 92b9f2dfa655e840cda5bc6ac5404695bf132e2fcafb2d7dfa5d1c8ea26b524a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pandas_gbq-0.35.0.tar.gz:

Publisher: google-cloud-sdk-py@oss-exit-gate-prod.iam.gserviceaccount.com

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.
  • Statement: Publication detail:
    • Token Issuer: https://accounts.google.com
    • Service Account: google-cloud-sdk-py@oss-exit-gate-prod.iam.gserviceaccount.com

File details

Details for the file pandas_gbq-0.35.0-py3-none-any.whl.

File metadata

  • Download URL: pandas_gbq-0.35.0-py3-none-any.whl
  • Upload date:
  • Size: 50.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for pandas_gbq-0.35.0-py3-none-any.whl
Algorithm Hash digest
SHA256 258de481019566611031919997bf9c1ece4ca30a4dd02d3fc3664b251d446182
MD5 f28c202ed90f7d74bcf0f565a1b4dd3a
BLAKE2b-256 063d2f0e9c5cbc456d34f48215645d876f7885a15e09a72a07d1de3ddb181c38

See more details on using hashes here.

Provenance

The following attestation bundles were made for pandas_gbq-0.35.0-py3-none-any.whl:

Publisher: google-cloud-sdk-py@oss-exit-gate-prod.iam.gserviceaccount.com

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.
  • Statement: Publication detail:
    • Token Issuer: https://accounts.google.com
    • Service Account: google-cloud-sdk-py@oss-exit-gate-prod.iam.gserviceaccount.com

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