Agent skill
eda
Exploratory Data Analysis for tabular data. Use when analyzing column distributions, checking data quality, examining class balance, detecting missing patterns, or generating summary statistics for datasets.
Install this agent skill to your Project
npx add-skill https://github.com/argythana/python-ml-skills/tree/main/eda
SKILL.md
Exploratory Data Analysis (EDA)
Analyze tabular datasets to understand distributions, data quality, and patterns.
When to Use
- Understanding a new dataset before modeling
- Checking data quality (missing values, outliers, duplicates)
- Analyzing target variable distribution
- Identifying class imbalance
- Generating summary statistics
Analysis Process
- Connect to data - Verify access and inspect schema
- Analyze target variable first - Understand class balance
- Check each column - Distribution, missing data, cardinality
- Document findings - Save reports for reproducibility
Available Analyses
| Analysis | Description |
|---|---|
| Column Distribution | Value counts, percentages, cardinality assessment |
| Missing Data | Null counts, patterns (MCAR/MAR/MNAR) |
| Class Balance | Imbalance detection for classification targets |
| Summary Stats | Count, unique, nulls per column |
Column Distribution Analysis
For detailed analysis methodology and output format:
- See references/eda-analysis.md
Quick Reference
Cardinality Levels:
| Level | Criteria | Action |
|---|---|---|
| Low | ≤10 unique | Good for categorical encoding |
| Medium | 11-100 or <1% of rows | May need encoding strategy |
| High | >100 and <50% of rows | Consider grouping/binning |
| Very High | >50% of rows | Likely identifier, exclude |
Missing Data Thresholds:
| Percentage | Assessment |
|---|---|
| 0% | No missing data |
| <1% | Minimal - safe to drop or impute |
| 1-5% | Some - consider imputation strategy |
| >5% | Significant - investigate pattern |
Class Imbalance:
-
80% in top class: Imbalance detected
-
95% in top class: Extreme imbalance
Output Format
# Column Distribution: {column_name}
- **source**: path/to/data
- **column**: column_name
## Summary
- Total rows: N
- Null/missing: N (X%)
- Unique values: N
- Cardinality: Low|Medium|High|Very High
## Distribution
| Value | Count | Percentage | Cumulative |
|-------|-------|------------|------------|
## Observations
- Auto-generated insights
Best Practices
- Start with schema inspection before deep analysis
- Check target variable first for classification tasks
- Missing data may not be random - investigate patterns
- Save reports for reproducibility
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
python-code-review
Production-grade Python code review. Use when reviewing code, PRs, or analyzing code quality. Checks architecture, security, quality, testing, documentation, deployment, and consistency. Provides severity-rated issues with fix suggestions.
edit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
handoff
Compact the current conversation into a handoff document for another agent to pick up.
obsidian-vault
Search, create, and manage notes in the Obsidian vault with wikilinks and index notes. Use when user wants to find, create, or organize notes in Obsidian.
setup-pre-commit
Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.
git-guardrails-claude-code
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.
Didn't find tool you were looking for?