bigframes 2.26.0


pip install bigframes

  Latest version

Released: Oct 20, 2025

Project Links

Meta
Author: Google LLC
Requires Python: >=3.9

Classifiers

Development Status
  • 5 - Production/Stable

Intended Audience
  • Developers

License
  • OSI Approved :: Apache Software License

Programming Language
  • Python
  • Python :: 3
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13

Operating System
  • OS Independent

Topic
  • Internet

GA pypi versions

BigQuery DataFrames (also known as BigFrames) provides a Pythonic DataFrame and machine learning (ML) API powered by the BigQuery engine.

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

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

BigQuery DataFrames is an open-source package.

Version 2.0 introduces breaking changes for improved security and performance. See below for details.

Getting started with BigQuery DataFrames

The easiest way to get started is to try the BigFrames quickstart in a notebook in BigQuery Studio.

To use BigFrames in your local development environment,

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

  2. Setup Application default credentials for your local development environment enviroment.

  3. Create a GCP 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
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

⚠️ Warning: Breaking Changes in BigQuery DataFrames v2.0

Version 2.0 introduces breaking changes for improved security and performance. Key default behaviors have changed, including

  • Large Results (>10GB): The default value for allow_large_results has changed to False. Methods like to_pandas() will now fail if the query result’s compressed data size exceeds 10GB, unless large results are explicitly permitted.

  • Remote Function Security: The library no longer automatically lets the Compute Engine default service account become the identity of the Cloud Run functions. If that is desired, it has to be indicated by passing cloud_function_service_account="default". And network ingress now defaults to "internal-only".

  • @remote_function Argument Passing: Arguments other than input_types, output_type, and dataset to remote_function must now be passed using keyword syntax, as positional arguments are no longer supported.

  • @udf Argument Passing: Arguments dataset and name to udf are now mandatory.

  • Endpoint Connections: Automatic fallback to locational endpoints in certain regions is removed.

  • LLM Updates (Gemini Integration): Integrations now default to the gemini-2.0-flash-001 model. PaLM2 support has been removed; please migrate any existing PaLM2 usage to Gemini. Note: The current default model will be removed in Version 3.0.

Important: If you are not ready to adapt to these changes, please pin your dependency to a version less than 2.0 (e.g., bigframes==1.42.0) to avoid disruption.

To learn about these changes and how to migrate to version 2.0, see the updated introduction guide.

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.

2.26.0 Oct 20, 2025
2.25.0 Oct 14, 2025
2.24.0 Oct 07, 2025
2.23.0 Sep 29, 2025
2.22.0 Sep 25, 2025
2.21.0 Sep 18, 2025
2.20.0 Sep 16, 2025
2.19.0 Sep 09, 2025
2.18.0 Sep 03, 2025
2.17.0 Aug 25, 2025
2.16.0 Aug 20, 2025
2.15.0 Aug 11, 2025
2.14.0 Aug 06, 2025
2.13.0 Jul 28, 2025
2.12.0 Jul 23, 2025
2.11.0 Jul 15, 2025
2.10.0 Jul 10, 2025
2.9.0 Jul 01, 2025
2.8.0 Jun 23, 2025
2.7.0 Jun 16, 2025
2.6.0 Jun 09, 2025
2.5.0 Jun 02, 2025
2.4.0 May 12, 2025
2.3.0 May 06, 2025
2.2.0 May 01, 2025
2.1.0 Apr 22, 2025
2.0.0 Apr 17, 2025
2.0.0.dev0 Mar 31, 2025
1.42.0 Mar 27, 2025
1.41.0 Mar 19, 2025
1.40.0 Mar 11, 2025
1.39.0 Mar 05, 2025
1.38.0 Feb 24, 2025
1.37.0 Feb 19, 2025
1.36.0 Feb 11, 2025
1.35.0 Feb 04, 2025
1.34.0 Jan 28, 2025
1.33.0 Jan 22, 2025
1.32.0 Jan 14, 2025
1.31.0 Jan 06, 2025
1.30.0 Jan 02, 2025
1.29.0 Dec 12, 2024
1.28.0 Dec 11, 2024
1.27.0 Nov 18, 2024
1.26.0 Nov 12, 2024
1.25.0 Oct 29, 2024
1.24.0 Oct 24, 2024
1.22.0 Oct 09, 2024
1.21.0 Oct 02, 2024
1.20.0 Sep 26, 2024
1.19.0 Sep 24, 2024
1.18.0 Sep 18, 2024
1.17.0 Sep 11, 2024
1.16.0 Sep 05, 2024
1.15.0 Aug 20, 2024
1.14.0 Aug 14, 2024
1.13.0 Aug 05, 2024
1.12.0 Jul 31, 2024
1.11.1 Jul 09, 2024
1.11.0 Jul 01, 2024
1.10.0 Jun 25, 2024
1.9.0 Jun 10, 2024
1.8.0 Jun 03, 2024
1.7.0 May 21, 2024
1.6.0 May 14, 2024
1.5.0 May 07, 2024
1.4.0 Apr 30, 2024
1.3.0 Apr 22, 2024
1.2.0 Apr 16, 2024
1.1.0 Apr 04, 2024
1.0.0 Mar 25, 2024
0.26.0 Mar 20, 2024
0.25.0 Mar 14, 2024
0.24.0 Mar 13, 2024
0.23.0 Mar 05, 2024
0.22.0 Feb 27, 2024
0.21.0 Feb 13, 2024
0.20.1 Feb 06, 2024
0.20.0 Jan 30, 2024
0.19.2 Jan 22, 2024
0.19.1 Jan 17, 2024
0.19.0 Jan 10, 2024
0.18.0 Jan 03, 2024
0.17.0 Dec 14, 2023
0.16.0 Dec 12, 2023
0.15.0 Nov 29, 2023
0.14.1 Nov 16, 2023
0.14.0 Nov 15, 2023
0.13.0 Nov 07, 2023
0.12.0 Nov 01, 2023
0.11.0 Oct 26, 2023
0.10.0 Oct 19, 2023
0.9.0 Oct 18, 2023
0.8.0 Oct 12, 2023
0.7.0 Oct 11, 2023
0.6.0 Oct 04, 2023
0.5.0 Sep 28, 2023
0.4.0 Sep 18, 2023
0.3.0 Sep 06, 2023
0.2.0 Aug 17, 2023
0.1.1 Aug 14, 2023
0.1.0 Aug 11, 2023
0.0.0 Feb 22, 2023

Wheel compatibility matrix

Platform Python 2 Python 3
any

Files in release

Extras:
Dependencies:
cloudpickle (>=2.0.0)
fsspec (>=2023.3.0)
gcsfs (!=2025.5.0,>=2023.3.0)
geopandas (>=0.12.2)
google-auth (<3.0,>=2.15.0)
google-cloud-bigquery[bqstorage,pandas] (>=3.36.0)
google-cloud-bigquery-storage (<3.0.0,>=2.30.0)
google-cloud-functions (>=1.12.0)
google-cloud-bigquery-connection (>=1.12.0)
google-cloud-resource-manager (>=1.10.3)
google-cloud-storage (>=2.0.0)
grpc-google-iam-v1 (>=0.14.2)
numpy (>=1.24.0)
pandas (>=1.5.3)
pandas-gbq (>=0.26.1)
pyarrow (>=15.0.2)
pydata-google-auth (>=1.8.2)
requests (>=2.27.1)
shapely (>=1.8.5)
sqlglot (>=23.6.3)
tabulate (>=0.9)
ipywidgets (>=7.7.1)
humanize (>=4.6.0)
matplotlib (>=3.7.1)
db-dtypes (>=1.4.2)
atpublic (<6,>=2.3)
python-dateutil (<3,>=2.8.2)
pytz (>=2022.7)
toolz (<2,>=0.11)
typing-extensions (<5,>=4.5.0)
rich (<14,>=12.4.4)