Skip to main content

BigQuery DataFrames (BigFrames)

GA pypi versions

BigQuery DataFrames (also known as BigFrames) provides a Pythonic DataFrame and machine learning (ML) API powered by the BigQuery engine. It provides modules for many use cases, including:

  • bigframes.pandas is a pandas API for analytics. Many workloads can be migrated from pandas to bigframes by just changing a few imports.

  • bigframes.bigquery.ai provides powerful AI functions, text generation, vector embeddings, and semantic search powered by Gemini.

  • bigframes.ml is a scikit-learn-like API for ML.

BigQuery DataFrames is an open-source package.

Why Use BigQuery DataFrames?

BigQuery DataFrames eliminates the “data movement bottleneck.” Instead of downloading large datasets to a local environment, BigFrames translates your Python code into optimized SQL executed across BigQuery’s distributed compute engine.

  • Petabyte-Scale Scalability: Effortlessly process datasets exceeding local memory constraints without provisioning or managing Spark or Ray clusters.

  • Familiar Python Ecosystem: Use the pandas operations you already know (read_gbq, groupby, merge, pivot_table) directly on BigQuery tables.

  • Generative AI & Multimodality: Seamlessly leverage Gemini models, AI functions, multimodal processing (audio, video, PDF), vector embeddings, and vector search with bigframes.bigquery.ai.

  • Optimized Execution: Take advantage of BigFrames partial ordering mode (bpd.options.bigquery.ordering_mode = "partial") for considerable performance gains on analytical workloads.

  • Enterprise Security: Keep your data securely governed within the BigQuery security perimeter.

  • Hybrid Flexibility: Seamlessly transition between distributed BigQuery processing and local pandas analysis with to_pandas() and read_pandas().

Getting started with BigQuery DataFrames

Notebooks

The easiest way to get started is to open a sample notebook in Colab or BigQuery Studio. More details can be found in the BigFrames quickstart and in the introduction to notebooks.

Local environment

To use BigFrames in your local development environment:

  1. Run pip install --upgrade bigframes to install the latest version.

  2. Set up Application Default Credentials for your local development environment.

  3. Create a Google Cloud project with the BigQuery API enabled.

  4. Use the bigframes package to query data.

import bigframes.pandas as bpd

bpd.options.bigquery.project = your_gcp_project_id  # Optional in BQ Studio.
bpd.options.bigquery.ordering_mode = "partial"  # Recommended for performance.
df = bpd.read_gbq("bigquery-public-data.usa_names.usa_1910_2013")
print(
    df.groupby("name")
    .agg({"number": "sum"})
    .sort_values("number", ascending=False)
    .head(10)
    .to_pandas()
)

Documentation

To learn more about BigQuery DataFrames, visit these pages

License

BigQuery DataFrames is distributed with the Apache-2.0 license.

It also contains code derived from the following third-party packages:

For details, see the third_party directory.

Contact Us

For further help and provide feedback, you can email us at bigframes-feedback@google.com.

Metadata

Release files for bigframes 2.50.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for bigframes 2.50.0
File Interpreter ABI Platform
bigframes-2.50.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Release files / bigframes-2.50.0-py2.py3-none-any.whl

Download URL bigframes-2.50.0-py2.py3-none-any.whl
Size 2.1 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ab652d51a636b4e158ec4136b9da7ac5ee97a18c5b84b4217b97861ac752b55a
BLAKE2b-256 checksum
How to use checksums
14d94acf85a91bd437733c447df0bafae5937ea3f9d429cdeca87263b069d0c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.2.0 CPython/3.11.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by Google Cloud, verified by PyPI on Oct 6, 2026.

Transparency log

Release history Release notifications | RSS feed

2.51.0

2 release files

This release

2.50.0 This release

1 release file

2.48.0

2 release files

2.46.0

2 release files

2.44.0

2 release files

2.43.0

2 release files

2.41.0

2 release files

2.40.0

2 release files

2.38.0

2 release files

2.36.0

2 release files

2.33.0

2 release files

2.31.0

2 release files

2.29.1

2 release files

2.29.0

2 release files

2.27.0

2 release files

2.26.0

2 release files

2.25.0

2 release files

2.23.0

2 release files

2.22.0

2 release files

2.21.0

2 release files

2.20.0

2 release files

2.17.0

2 release files

2.16.0

2 release files

2.15.0

2 release files

2.13.0

2 release files

2.12.0

2 release files

2.11.0

2 release files

2.10.0

2 release files

2.9.0

2 release files

2.8.0

2 release files

2.7.0

2 release files

2.6.0

2 release files

2.5.0

2 release files

2.4.0

2 release files

2.3.0

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.42.0

2 release files

1.41.0

2 release files

1.40.0

2 release files

1.38.0

2 release files

1.37.0

2 release files

1.36.0

2 release files

1.34.0

2 release files

1.33.0

2 release files

1.32.0

2 release files

1.29.0

2 release files

1.28.0

2 release files

1.27.0

2 release files

1.26.0

2 release files

1.25.0

2 release files

1.24.0

2 release files

1.20.0

2 release files

1.19.0

2 release files

1.18.0

2 release files

1.17.0

2 release files

1.15.0

2 release files

1.14.0

2 release files

1.12.0

2 release files

1.10.0

2 release files

1.9.0

2 release files

1.8.0

2 release files

1.7.0

2 release files

1.6.0

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.26.0

2 release files

0.25.0

2 release files

0.24.0

2 release files

0.22.0

2 release files

0.21.0

2 release files

0.20.0

2 release files

0.19.2

2 release files

0.19.1

2 release files

0.19.0

2 release files

0.17.0

2 release files

0.16.0

2 release files

0.15.0

2 release files

0.14.1

2 release files

0.14.0

2 release files

0.11.0

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page