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.23.2.tar.gz (52.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.23.2-py2.py3-none-any.whl (28.2 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for pandas_gbq-0.23.2.tar.gz
Algorithm Hash digest
SHA256 18a67db0ea3390c362cb8e276769335d128ec8739c1d0814ab5b6fdf3903fd87
MD5 1b032ad289f556126c43a71f98aa6ebd
BLAKE2b-256 7af2ffa2827f1b90f9af1f3dfe8e20961c9de507b151b8bcf47f76c3ea4e0e9e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pandas_gbq-0.23.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 28.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.18

File hashes

Hashes for pandas_gbq-0.23.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8ea300cb337b1f738896bcd881d611cd95d03c6c83a34eef2d4c8af050f704d5
MD5 29f1288e753def29448fde8de118a2a4
BLAKE2b-256 a9ebf35416f452de18575b216aaf4b4710beb7201dce4e07265c5134e1d1ecfd

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