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.2.tar.gz (65.6 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.29.2-py3-none-any.whl (41.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pandas_gbq-0.29.2.tar.gz
Algorithm Hash digest
SHA256 a3a28e7de4f8456fc4b8e9b7472b9bc470d2566f89c4cd997599e504f5a0a706
MD5 cd173f3ce1c0256a3e5fdab3fed7063a
BLAKE2b-256 a5ffa81b01f9657b1c4b3b021e604b15a4ad1e5ac086977acf5ab74265a00a51

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pandas_gbq-0.29.2-py3-none-any.whl
Algorithm Hash digest
SHA256 99f6b642bd8340e96c2acdf7d717108aa0d31c703c2f284817ba7dc3b16110b2
MD5 e89484c4c4338a8f2d48a553ec57bc07
BLAKE2b-256 5be58f3607a8827ff499ee4b841599c5e2998bf6bf8a7d997215726039d72747

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