# Pandas Data Analysis

This skill guides coding agents through data cleaning, aggregations, and plotting with Pandas, NumPy, and Matplotlib. It helps automate exploratory analysis on raw datasets.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1100 installs · ★ 6
- Author: pluginagentmarketplace
- License: LicenseRef-Proprietary · policy=link-only · description only; the file stays with the author
- Source: https://github.com/pluginagentmarketplace/custom-plugin-python/tree/HEAD/skills/pandas-data-analysis/SKILL.md
- Updated: 2026-01-05
- HTML: https://affpapa.org/en/nevibecode/skills/pandas-data-analysis

## What it does

The skill provides workflows for loading datasets from CSV or SQL, handling missing rows, and converting inconsistent date strings. It instructs the assistant on selecting subsets with `loc` and `iloc`, building pivot tables, and calculating rolling window statistics. For graphical summaries, it guides chart creation with Matplotlib and Seaborn heatmaps.

Under the hood, the skill connects to the `03-data-science` subagent. It records processing speed using the `data_processing_time` metric and applies `exponential_backoff` retries if execution fails.

Your environment must have `pandas`, `numpy`, `matplotlib`, and `seaborn` installed locally. Without those Python packages, the agent will hit import errors when executing its analysis scripts.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add pluginagentmarketplace/custom-plugin-python --skill pandas-data-analysis -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/pandas-data-analysis/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/pandas-data-analysis/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add pluginagentmarketplace/custom-plugin-python --skill pandas-data-analysis -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/pandas-data-analysis/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add pluginagentmarketplace/custom-plugin-python --skill pandas-data-analysis -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/pandas-data-analysis/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install pluginagentmarketplace/custom-plugin-python pandas-data-analysis
```

2. **Manually: put the files in place**
- File: `.github/skills/pandas-data-analysis/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add pluginagentmarketplace/custom-plugin-python --skill pandas-data-analysis -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/pluginagentmarketplace/custom-plugin-python --path skills/pandas-data-analysis
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/pandas-data-analysis/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add pluginagentmarketplace/custom-plugin-python --skill pandas-data-analysis -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/pluginagentmarketplace/custom-plugin-python/tree/HEAD/skills/pandas-data-analysis/SKILL.md

## When to use it
- Clean dirty CSV files by removing duplicates and imputing missing numbers
- Calculate rolling averages, pivot tables, and grouped department statistics
- Plot correlation heatmaps, box plots, and category sales charts
- Prepare RFM customer segmentation reports

## Example prompts
- Load `sales_data.csv`, fill missing price values with the median, and parse order dates
- Group sales figures by region and calculate moving averages for the last 7 days
- Create a Seaborn heatmap showing the correlation between salary, age, and experience

## Similar
- [data-analysis-jupyter](https://affpapa.org/en/nevibecode/skills/data-analysis-jupyter.md) — skill · 1500 installs
- [analytics-data-analysis](https://affpapa.org/en/nevibecode/skills/analytics-data-analysis.md) — skill · 1100 installs
- [Exploratory Data Analysis](https://affpapa.org/en/nevibecode/skills/aj-geddes-exploratory-data-analysis.md) — skill · 513 installs
- [csv-data-summarizer](https://affpapa.org/en/nevibecode/skills/csv-data-summarizer.md) — skill · 2100 installs
- [pandas](https://affpapa.org/en/nevibecode/rules/pandas.md) — rule · ★ 3579
- [data-analysis](https://affpapa.org/en/nevibecode/skills/lingzhi227-data-analysis.md) — skill · 2000 installs

From the same set: [pluginagentmarketplace/custom-plugin-python](https://affpapa.org/en/nevibecode/by/pluginagentmarketplace/custom-plugin-python.md) — 3 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
