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

Uploaded Source

Built Distribution

pandas_gbq-0.24.0-py2.py3-none-any.whl (35.7 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: pandas_gbq-0.24.0.tar.gz
  • Upload date:
  • Size: 60.4 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.24.0.tar.gz
Algorithm Hash digest
SHA256 264415277059821497e74ed0b2240b538cba9646ee627fb4668cac5cf274e4c3
MD5 3e74ddaafad82461aa2d302f89eb9a14
BLAKE2b-256 84cb2b1e480472217386aecb85807debe5eace8625af8572a2c4f03b328cd3b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pandas_gbq-0.24.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e3e39f4fd8651ced033515e5e63a6c19bc757b26155fac01c4367e1aa74ee122
MD5 258f1b80bbed51fe0a332fce82dec979
BLAKE2b-256 3a897adeabe074773cfc3b88529e984833d3aa0dd7a14ef68c06ea84b598b429

See more details on using hashes here.

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