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.23.1.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.1-py2.py3-none-any.whl (28.2 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: pandas-gbq-0.23.1.tar.gz
  • Upload date:
  • Size: 52.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for pandas-gbq-0.23.1.tar.gz
Algorithm Hash digest
SHA256 6a4942b574643af1372360c807616a98b3f9ed9ca328794daa66d4f28af879be
MD5 268d19107b037e4abe5c0a7a565dffe5
BLAKE2b-256 cffa706699bb58ff279f7bf0682e0b3e14f7aa18990e647478ce3aa81b26e481

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pandas_gbq-0.23.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 74165384b6718c75a08cf434fb78f076200aa25d32705c4634eaeedbc4286b6a
MD5 448890b6b69301fd11e007039fa11383
BLAKE2b-256 603cc045f7745f8907a2314bf33acffeb4ce7a4f06c6a550fa3d97b48f5c492b

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