google/skills✦ 精选0°

bigquery-bigframes

仓库创建 2026年4月1日最近提交 2 小时前SkillHot 收录 1 小时前
▸ 精选理由

适合在笔记本/数据科学工作流中写云端 DataFrame 代码。

▸ 风险提示

需要对目标 GCP 项目拥有访问权限与相应配额。

这个 Skill 做什么

为 BigQuery 提供 pandas 风格的 BigFrames(DataFrame)Python 代码生成与最佳实践。

用 BigFrames(BigQuery 的 pandas 风格 DataFrame)写 Python 代码,让你像操作 pandas 一样在 BigQuery 上做清洗、变换和简单 ML,适合在 notebook 里交互式分析大数据。它鼓励把计算留在云端,充分利用 BigQuery 的规模和性能,并提供一些实践建议(比如偏好部分排序模式)来避坑。若你的工作以 SQL 为主或用 google-cloud-bigquery 客户端库,就不适合用它。

▸ 展开 SKILL.md 英文原文

Generates Python code using BigQuery DataFrames (BigFrames), the pandas/scikit-learn-style API over BigQuery. Use when writing BigFrames code or doing pandas-style dataframe/ML work against BigQuery (e.g. in a notebook). Don't use for SQL-first workflows or the google-cloud-bigquery client library — use bigquery-basics.

数据与抓取BigQueryDataFramePython通用
1.6w
Stars
1.3k
Forks
40
仓库内 Skill
积累中
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/google/skills/main/skills/cloud/bigquery-bigframes/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/google/skills/main/skills/cloud/bigquery-bigframes/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# BigFrames (BigQuery DataFrame) basics
BigFrames is a Python library that lets you take advantage of BigQuery
data processing by using familiar Python APIs.

## Dataframe API best practices
* **Stay in the Cloud**: Perform data cleaning, transformation, and analysis
  via BigFrames methods to leverage BigQuery's scale rather than downloading
  data.
* **Prefer partial ordering mode**: Enable partial ordering mode right after
  importing BigFrames. This speeds up data processing significantly by relaxing
  row-sequence constraints.
  ```python
  import bigframes.pandas as bpd
  bpd.options.bigquery.ordering_mode = 'partial'
  ```
* **Use `peek()` for data preview**: Use `peek(n)` to preview 
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有