ydata-profiling-6-comparison-reports

Sub-skill of ydata-profiling: 6. Comparison Reports.

5 stars

Best use case

ydata-profiling-6-comparison-reports is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Sub-skill of ydata-profiling: 6. Comparison Reports.

Teams using ydata-profiling-6-comparison-reports should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/6-comparison-reports/SKILL.md --create-dirs "https://raw.githubusercontent.com/vamseeachanta/workspace-hub/main/.agents/skills/_archive/data/analysis/ydata-profiling/6-comparison-reports/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/6-comparison-reports/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How ydata-profiling-6-comparison-reports Compares

Feature / Agentydata-profiling-6-comparison-reportsStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Sub-skill of ydata-profiling: 6. Comparison Reports.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 6. Comparison Reports

## 6. Comparison Reports


**Comparing Two Datasets:**
```python
from ydata_profiling import ProfileReport, compare
import pandas as pd
import numpy as np

# Create two related datasets
np.random.seed(42)

# Training data
df_train = pd.DataFrame({
    "feature_1": np.random.randn(5000),
    "feature_2": np.random.exponential(100, 5000),
    "feature_3": np.random.choice(["A", "B", "C"], 5000),
    "target": np.random.randint(0, 2, 5000)
})

# Test data (slightly different distribution)
df_test = pd.DataFrame({
    "feature_1": np.random.randn(2000) * 1.2,  # Different variance
    "feature_2": np.random.exponential(120, 2000),  # Different mean
    "feature_3": np.random.choice(["A", "B", "C", "D"], 2000),  # New category
    "target": np.random.randint(0, 2, 2000)
})

# Generate individual profiles
profile_train = ProfileReport(df_train, title="Training Data")
profile_test = ProfileReport(df_test, title="Test Data")

# Compare profiles
comparison = compare([profile_train, profile_test])

# Save comparison report
comparison.to_file("train_test_comparison.html")
```

**Before/After Comparison:**
```python
from ydata_profiling import ProfileReport, compare
import pandas as pd
import numpy as np

# Original data
df_before = pd.DataFrame({
    "value": np.concatenate([
        np.random.randn(900),
        np.array([100, -50, 200, 150, -100])  # Outliers
    ]),
    "category": np.random.choice(["A", "B", "C"], 905),
    "score": np.random.uniform(0, 100, 905)
})

# Add missing values
df_before.loc[np.random.choice(905, 50), "value"] = np.nan

# Cleaned data (after preprocessing)
df_after = df_before.copy()

# Remove outliers
Q1 = df_after["value"].quantile(0.25)
Q3 = df_after["value"].quantile(0.75)
IQR = Q3 - Q1
df_after = df_after[
    (df_after["value"] >= Q1 - 1.5 * IQR) &
    (df_after["value"] <= Q3 + 1.5 * IQR)
]

# Fill missing values
df_after["value"] = df_after["value"].fillna(df_after["value"].median())

# Compare before and after
profile_before = ProfileReport(df_before, title="Before Cleaning")
profile_after = ProfileReport(df_after, title="After Cleaning")

comparison = compare([profile_before, profile_after])
comparison.to_file("cleaning_comparison.html")
```

Related Skills

worldenergydata-source-readiness

5
from vamseeachanta/workspace-hub

Route agents to the canonical worldenergydata source-readiness skill and summary script. Use when asked for worldenergydata data completeness, data locations, latest known data dates, scheduler freshness, source-readiness status, or acceptance-criteria inputs across the repo ecosystem.

export-tax-summary-with-year-comparison

5
from vamseeachanta/workspace-hub

Extract and structure tax return data into YAML format for year-over-year comparison across different filing products

orcaflex-results-comparison

5
from vamseeachanta/workspace-hub

Compare results across multiple OrcaFlex simulations for design verification, sensitivity studies, and configuration comparison. Includes pretension, stiffness, and force distribution analysis.

gtm-parametric-demo-reports

5
from vamseeachanta/workspace-hub

Create parametric engineering demo reports (HTML+PDF) for cold outreach to marine/offshore contractors. Data-first architecture: input DBs → parametric sweep → output DBs → comparison matrices → branded interactive report.

usage-tracker-3-usage-summary-reports

5
from vamseeachanta/workspace-hub

Sub-skill of usage-tracker: 3. Usage Summary Reports (+1).

solver-benchmark-mandatory-checks-before-committing-reports

5
from vamseeachanta/workspace-hub

Sub-skill of solver-benchmark: Mandatory Checks Before Committing Reports (+2).

orcaflex-results-comparison-comparison-summary-table

5
from vamseeachanta/workspace-hub

Sub-skill of orcaflex-results-comparison: Comparison Summary Table (+1).

orcaflex-results-comparison-comparison-bar-chart

5
from vamseeachanta/workspace-hub

Sub-skill of orcaflex-results-comparison: Comparison Bar Chart (+1).

orcaflex-results-comparison-basic-comparison

5
from vamseeachanta/workspace-hub

Sub-skill of orcaflex-results-comparison: Basic Comparison (+1).

orcaflex-results-comparison-1-pretension-comparison

5
from vamseeachanta/workspace-hub

Sub-skill of orcaflex-results-comparison: 1. Pretension Comparison (+3).

webapp-testing-example-1-screenshot-comparison-testing

5
from vamseeachanta/workspace-hub

Sub-skill of webapp-testing: Example 1: Screenshot Comparison Testing (+2).

github-swarm-issue-bug-reports

5
from vamseeachanta/workspace-hub

Sub-skill of github-swarm-issue: Bug Reports (+1).