Exploratory data analysis

From lifangda/claude-plugins · View interactive version

Exploratory data analysis is an AI agent skill from the GitHub repository lifangda/claude-plugins. EDA toolkit. Analyze CSV/Excel/JSON/Parquet files, statistical summaries, distributions, correlations, outliers, missing data, visualizations, markdown reports, for data profiling and insights.

How to use this skill

Skill file

Exploratory Data Analysis

Overview

EDA is a process for discovering patterns, anomalies, and relationships in data. Analyze CSV/Excel/JSON/Parquet files to generate statistical summaries, distributions, correlations, outliers, and visualizations. All outputs are markdown-formatted for integration into workflows.

When to Use This Skill

This skill should be used when:

Supported file formats: CSV, Excel (.xlsx, .xls), JSON, Parquet, TSV, Feather, HDF5, Pickle

Quick Start Workflow

  1. Receive data file from user
  2. Run comprehensive analysis using scripts/eda_analyzer.py
  3. Generate visualizations using scripts/visualizer.py
  4. Create markdown report using insights and the assets/report_template.md template
  5. Present findings to user with key insights highlighted

Core Capabilities

1. Comprehensive Data Analysis

Execute full statistical analysis using the eda_analyzer.py script:

python scripts/eda_analyzer.py <data_file_path> -o <output_directory>

What it provides:

Output: JSON file containing all analysis results at <output_directory>/eda_analysis.json

2. Comprehensive Visualizations

Generate complete visualization suite using the visualizer.py script:

python scripts/visualizer.py <data_file_path> -o <output_directory>

Generated visualizations:

Output: High-quality PNG files saved to <output_directory>/eda_visualizations/

All visualizations are production-ready with:

3. Automated Insight Generation

The analyzer automatically generates actionable insights including:

Access insights from the analysis results JSON under the "insights" key.

4. Statistical Interpretation

For detailed interpretation of statistical tests and measures, reference:

references/statistical_tests_guide.md - Comprehensive guide covering:

Load this reference when needing to interpret specific statistical tests or explain results to users.

5. Best Practices Guidance

For methodological guidance, reference:

references/eda_best_practices.md - Detailed best practices including:

Load this reference when planning analysis approach or needing guidance on specific EDA scenarios.

Creating Analysis Reports

Use the provided template to structure comprehensive EDA reports:

assets/report_template.md - Professional report template with sections for:

To use the template:

  1. Copy the template content
  2. Fill in sections with analysis results from JSON output
  3. Embed visualization images using markdown syntax
  4. Populate insights and recommendations
  5. Save as markdown for user consumption

Typical Workflow Example

When user provides a data file:

User: "Can you explore this sales_data.csv file and tell me what you find?"

1. Run analysis:
   python scripts/eda_analyzer.py sales_data.csv -o ./analysis_output

2. Generate visualizations:
   python scripts/visualizer.py sales_data.csv -o ./analysis_output

3. Read analysis results:
   Read ./analysis_output/eda_analysis.json

4. Create markdown report using template:
   - Copy assets/report_template.md structure
   - Fill in sections with analysis results
   - Reference visualizations from ./analysis_output/eda_visualizations/
   - Include automated insights from JSON

5. Present to user:
   - Show key insights prominently
   - Highlight data quality issues
   - Provide visualizations inline
   - Make actionable recommendations
   - Save complete report as .md file

Advanced Analysis Scenarios

Large Datasets (>1M rows)

High-Dimensional Data (>50 columns)

Time Series Data

Imbalanced Data

Small Sample Sizes (<100 rows)

Output Best Practices

Always output as markdown:

Ensure reports are actionable:

Make insights accessible:

Handling Edge Cases

Unsupported file formats:

Files too large to load:

Corrupted or malformed data:

All missing data in columns:

Resources Summary

scripts/

Both scripts are fully executable and handle multiple file formats automatically.

references/

Load these references as needed to inform analysis approach and interpretation.

assets/

Use this template structure for creating consistent, comprehensive EDA reports.

Key Reminders

  1. Always generate markdown output for textual results
  2. Run both scripts (analyzer and visualizer) for complete analysis
  3. Use the template to structure comprehensive reports
  4. Include visualizations by referencing generated PNG files
  5. Provide actionable insights - don't just present statistics
  6. Interpret findings using reference guides
  7. Document limitations and data quality issues
  8. Make recommendations for next steps

This skill transforms raw data into actionable insights through systematic exploration, advanced statistics, rich visualizations, and clear communication.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.