/major-ai-skills:pandasfrom major-ai-skills
Load, clean, join, and aggregate tabular data with pandas while managing data types and memory use.
Ships in major-ai-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
pandas is the default Python tabular toolkit: Series and DataFrame over NumPy (and Arrow-backed dtypes in newer builds). IO loaders materialize tables; vectorized ops and groupby/merge reshape them. Agents prefer explicit dtypes, avoid row-wise apply on large frames, and profile memory before chaining copies.
CSV/Parquet/SQL
-> DataFrame (columns = Series)
-> filter / assign / groupby / merge
-> to_parquet / to_sql / plot
@scikit-learn, @pytorch)dtype=, parse_dates=) instead of fixing later.apply.merge with explicit how and validate key uniqueness when required..copy() only when you must break SettingWithCopy hazards.@polars, @duckdb, or chunked reads.import pandas as pd
df = pd.read_csv(
"orders.csv",
usecols=["order_id", "customer_id", "amount", "created_at"],
parse_dates=["created_at"],
dtype={"order_id": "string", "customer_id": "string"},
)
monthly = (
df.assign(month=df["created_at"].dt.to_period("M").astype(str))
.groupby(["customer_id", "month"], as_index=False)
.agg(revenue=("amount", "sum"), orders=("order_id", "nunique"))
)
out = orders.merge(
customers[["customer_id", "segment"]],
on="customer_id",
how="left",
validate="m:1",
)
| Symptom | Cause | Fix |
|---|---|---|
| SettingWithCopyWarning | chained indexing | .loc[] assign or .copy() |
| object dtype bloat | mixed/unparsed columns | astype / convert_dtypes |
| merge row explosion | many-to-many keys | validate; dedupe keys |
| slow groupby | Python apply | built-in aggregations |
df.memory_usage(deep=True) before widening joins.@polars - faster single-node DataFrames@duckdb - SQL over files without full materialization@jupyter - exploratory notebooksWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub alivirgo/major-ai-skills --plugin major-ai-skills412 skills in this plugin
/3d-slicerAutomate 3D Slicer research workflows with MRML, VTK/ITK, DICOM data, and Segment Editor. Use for software workflows, not clinical interpretation./abbreviated-git-statusInspect Git branch, staging, and working-tree changes with short or porcelain status output when a compact repository check is needed./ableton-liveAutomate Ableton Live sessions with Python MIDI Remote Scripts, Max for Live, AbletonOSC, and Link synchronization./act-as-a-personal-tutorExplain a subject step by step, assess prior knowledge, and use short exercises to check understanding before advancing.Other plugins' skills for the same job