BigQuery DataFrames -- scalable analytics and machine learning with BigQuery
Project description
- orphan:
BigQuery DataFrames (BigFrames)
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.ml is a scikit-learn-like API for ML.
bigframes.bigquery.ai are a collection of powerful AI methods, powered by Gemini.
BigQuery DataFrames is an open-source package.
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,
Run pip install --upgrade bigframes to install the latest version.
Setup Application default credentials for your local development environment enviroment.
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bigframes-2.35.0.tar.gz.
File metadata
- Download URL: bigframes-2.35.0.tar.gz
- Upload date:
- Size: 2.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15c8449b413d41a551efc8207969eaa864eab6c01c5e693832233dfe9da8e9cf
|
|
| MD5 |
e361257095884d300e4813029d8e6974
|
|
| BLAKE2b-256 |
e758ff59533720ad161172c5987dd063b2491af19ea9606bca828f4e73ab0b8c
|
Provenance
The following attestation bundles were made for bigframes-2.35.0.tar.gz:
Publisher:
google-cloud-sdk-py@oss-exit-gate-prod.iam.gserviceaccount.com
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bigframes-2.35.0.tar.gz -
Subject digest:
15c8449b413d41a551efc8207969eaa864eab6c01c5e693832233dfe9da8e9cf - Sigstore transparency entry: 925744512
- Sigstore integration time:
-
Token Issuer:
https://accounts.google.com -
Service Account:
google-cloud-sdk-py@oss-exit-gate-prod.iam.gserviceaccount.com
-
Statement type:
File details
Details for the file bigframes-2.35.0-py2.py3-none-any.whl.
File metadata
- Download URL: bigframes-2.35.0-py2.py3-none-any.whl
- Upload date:
- Size: 1.9 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f9a30e3b2e0f5388c4f6efe05e0ab1bb6b7db2f2aeb159e01024cfdfa2a0bb4
|
|
| MD5 |
d1a4a19fed47b0d0453874bb22f9cb31
|
|
| BLAKE2b-256 |
1c428c76f5f0f477f36f9d18ed7c52d4fbe2d112e7c7cb5a9bf9f51f26b0777a
|
Provenance
The following attestation bundles were made for bigframes-2.35.0-py2.py3-none-any.whl:
Publisher:
google-cloud-sdk-py@oss-exit-gate-prod.iam.gserviceaccount.com
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bigframes-2.35.0-py2.py3-none-any.whl -
Subject digest:
2f9a30e3b2e0f5388c4f6efe05e0ab1bb6b7db2f2aeb159e01024cfdfa2a0bb4 - Sigstore transparency entry: 925744511
- Sigstore integration time:
-
Token Issuer:
https://accounts.google.com -
Service Account:
google-cloud-sdk-py@oss-exit-gate-prod.iam.gserviceaccount.com
-
Statement type: