gemini-cli-extensions/data-agent-kit-starter-pack

bigquery-bigframes

>- 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.

First seen Aug 9, 2026

Installation

$ npx skills add gemini-cli-extensions/data-agent-kit-starter-pack --skill bigquery-bigframes

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from gemini-cli-extensions/data-agent-kit-starter-pack · top by installs.

npx skills add gemini-cli-extensions/data-agent-kit-starter-pack

Browse all from gemini-cli-extensions/data-agent-kit-starter-pack

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Declared
Cline Not declared
OpenCode Not declared

Also listed on

Alternate registries and mirrors of this skill.

Repository health

Stars 179
License LICENSE
Default branch main
Open issues 3
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Versionv2
Declared agents gemini
More metadata
version
v2

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 3,236 B
  • docs SUMMARY.md 349 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 4 installs

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.

Generic Coding Guidelines

  • Avoid .topandas(): You MUST NOT use .topandas() to download the

entire dataset into memory. There are some exceptions: An error message explicitly requests you to use topandas() You are going to visualize the data, and the visualization library does not accept BigFrames Dataframe/Series instances. In this case, reduce the amount of data you are going to download before calling .topandas()

  • Avoid read_gbq() for SQL: Do not write SQL queries and execute them

with read_gbq(). Use BigFrames Dataframe/Series methods instead.

  • Use BigFrames ML package for Machine Learning Tasks: Do not use

Scikit-learn or other ML libraries with BigFrames dataframes. Import your tools/classes from bigframes.ml.

  • Stay in the Cloud: Perform data cleaning, transformation, and analysis

via BigFrames methods to leverage BigQuery's scale.

  • Accessors over UDFs/Lambdas:

Prefer built-in accessors (e.g., df.col.str., df.col.dt.) over remote UDFs. Do not use lambdas with Series.map() or DataFrame.apply().

  • Schema Verification: Do not assume schema of intermediate outputs.

Check .dtypes after loading, and use display() with .head() or .peek().

  • Visualization: BigFrames Dataframe mostly works directly with

Matplotlib, Seaborn, and other plotting libraries. If your attempt didn't work, try using the "plot" accessor. If that didn't work either, you MUST sample or aggregate your data to make it small enough before calling "to_pandas()".

Model Development

  • Unlike Scikit-learn: BigFrames' predict() method always returns a

DataFrame containing both predictions and features (not just a series of predictions).

  • No randomstate: Do not pass a randomstate argument when

instantiating BigFrames ML models.

  • Automatic Scaling: Do not use OneHotEncoder or StandardScaler

unless explicitly requested (handled automatically).

  • Hyperparameter Tuning: You must write custom loops (BigFrames lacks

GridSearchCV or RandomizedSearchCV).

  • ARIMA Plus (Forecasting):

- Import from bigframes.ml.forecasting. - Sort data chronologically and split around a timepoint before training. - Prediction horizon must be less than or equal to training horizon.

  • PCA: BigFrames' PCA class lacks simple transform() method. Use

predict() instead.

  • Model Persistence: To persist a model, use model.to_gbq(). To load a

persisted model, use bpd.readgbqmodel().