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.25.0.tar.gz (60.7 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.25.0-py2.py3-none-any.whl (35.8 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for pandas_gbq-0.25.0.tar.gz
Algorithm Hash digest
SHA256 e16362701788c2b528e0202ac744195b1e1c9153e1fe5cfa130401756077e2d7
MD5 60026da6b79cedbd2776f88f6a322625
BLAKE2b-256 1c4511cc72ad49587112a95bb053a271660816c205b8e55159763991776138a1

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pandas_gbq-0.25.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fbb89146c959cf54ed9003db0a5775af908c41de8cf5f24739fa8959893c67e6
MD5 4254552c833be441d6172f466029e0b2
BLAKE2b-256 f97e3efc07e054ebc950fe7370937b2a073aa10240baf0559357d08193359962

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