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.32.0.tar.gz (73.5 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.32.0-py3-none-any.whl (46.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pandas_gbq-0.32.0.tar.gz
  • Upload date:
  • Size: 73.5 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.32.0.tar.gz
Algorithm Hash digest
SHA256 249623d574c65e98cf19b7b7ecda97729f4f0a843eae3a0a82d9ef50adcdf4ef
MD5 9c4feb45d95a42817a0dd08d090ddb07
BLAKE2b-256 80f46c598f537625c038e63cc0e6a2ef5232a32ddd21093626d0536f33a2eba0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pandas_gbq-0.32.0-py3-none-any.whl
  • Upload date:
  • Size: 46.6 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.32.0-py3-none-any.whl
Algorithm Hash digest
SHA256 28018ff09f2e49ab2b01a11329bd4e562fd65da406030b4a8001a3a4e80a1e34
MD5 3f00c68f7783ae25803d5b8af01834e3
BLAKE2b-256 3966e11912d4a115adc032a182404b1b2cdb9e40481b62a4d8e2e9a8d0c16f7f

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