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/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.28.1.tar.gz (64.3 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.28.1-py3-none-any.whl (40.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pandas_gbq-0.28.1.tar.gz
  • Upload date:
  • Size: 64.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.15

File hashes

Hashes for pandas_gbq-0.28.1.tar.gz
Algorithm Hash digest
SHA256 34657f358b032f7decda2a11f343231e38461ea287137378758341d9c5c80af6
MD5 c044aa0a56623fff373f1ca8d02c0d03
BLAKE2b-256 f1e04db03ae24abfcab46c651a3a424dd947863dffe3c61e07bdc1cdacf9bbfb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pandas_gbq-0.28.1-py3-none-any.whl
  • Upload date:
  • Size: 40.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.15

File hashes

Hashes for pandas_gbq-0.28.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bb5095dfda39fc614c2a4ba95476d57e778e6a7e0bbb837287dc7ea8ec924a4a
MD5 20e513fa34d24c67c00ca3916ba62e81
BLAKE2b-256 d84fd0f8d6bfc2957ebf286a134793200aba9c97135211383a7d9d5ffca7ea2e

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