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.17.3.tar.gz (47.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.17.3-py2.py3-none-any.whl (24.8 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: pandas-gbq-0.17.3.tar.gz
  • Upload date:
  • Size: 47.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.0

File hashes

Hashes for pandas-gbq-0.17.3.tar.gz
Algorithm Hash digest
SHA256 7bea94697ddb905293b335c0cd10d1f0a6d169e776e1f33ef612cf91cc40f042
MD5 3d2e1b8207dff621aaf2809e800db18f
BLAKE2b-256 8adecde28103cb4c574680964b94c592c64272f5fd9f4822c1dc0741835c4a3a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pandas_gbq-0.17.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 24.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.0

File hashes

Hashes for pandas_gbq-0.17.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b03d43a2226b18693747d80cfc47ef2d6edd063d4e703ec75c4b0e6bd8fd683c
MD5 1f8020aca40d9bc1e3bff92e21d78ec6
BLAKE2b-256 82079d78d1716e9bcf95601612508483a88272fe859e462c373073f92c589849

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