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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: pandas-gbq-0.17.0.tar.gz
  • Upload date:
  • Size: 46.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for pandas-gbq-0.17.0.tar.gz
Algorithm Hash digest
SHA256 4f91c7c654cef68eb7cd0afffe75739399540ff70dc38c88a176e6f69327c390
MD5 2b20ce436804fb5f458ea2b528c60ea0
BLAKE2b-256 87f5b7091373ff2ecf48526baf0e3b3ac7c08ecbed65a00088be0980a16e7e7f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pandas_gbq-0.17.0-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.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for pandas_gbq-0.17.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ac9ded0a1c58f4027a1d66b7ad8e2ca235bcff1b0e5ac7be25d28287a3615e37
MD5 0b21f6d81bebb45dd0e6330942f374b1
BLAKE2b-256 2fe8273f4a1dfe21c9816c4a0ea882fea6ecd05ba036d5d49146441e646e25af

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