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

Uploaded Source

Built Distribution

pandas_gbq-0.29.1-py3-none-any.whl (41.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pandas_gbq-0.29.1.tar.gz
  • Upload date:
  • Size: 65.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for pandas_gbq-0.29.1.tar.gz
Algorithm Hash digest
SHA256 a6ead6199174094317e05729677d30384460335bb2a138d02c1f2edbfdb78fc3
MD5 142d9a1b5367e948b094c3a1d21df2bb
BLAKE2b-256 6b0c18b893b071144bbd8c841987042e218c8e4d1fc590d8302842580d419a7b

See more details on using hashes here.

File details

Details for the file pandas_gbq-0.29.1-py3-none-any.whl.

File metadata

  • Download URL: pandas_gbq-0.29.1-py3-none-any.whl
  • Upload date:
  • Size: 41.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for pandas_gbq-0.29.1-py3-none-any.whl
Algorithm Hash digest
SHA256 21aaaf6f62723aeb3a8751f3fd8afff00f4b237ae722cbe6c4e79f17c8677086
MD5 ea1f43308abf6b8a5c4c2a1f7ce6efd9
BLAKE2b-256 135eb2363eedadcdfca4588689d7240d09781a7a2bf7f3e1f60f914e0575ab00

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page