Agent skill
ydata-profiling-7-html-report-customization
Sub-skill of ydata-profiling: 7. HTML Report Customization.
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/data/analysis/ydata-profiling/7-html-report-customization
SKILL.md
7. HTML Report Customization
7. HTML Report Customization
Custom Report Configuration:
from ydata_profiling import ProfileReport
import pandas as pd
df = pd.read_csv("data.csv")
# Customized report
profile = ProfileReport(
df,
title="Custom Styled Report",
dataset={
"description": "This is a sample dataset for analysis",
"creator": "Data Team",
"copyright_holder": "Company Inc.",
"copyright_year": "2025",
"url": "https://company.com/data"
},
variables={
"descriptions": {
"revenue": "Total revenue in USD",
"units": "Number of units sold",
"category": "Product category"
}
},
html={
"style": {
"full_width": True
},
"navbar_show": True,
"minify_html": True
},
progress_bar=True
)
profile.to_file("custom_report.html")
Report Sections Control:
from ydata_profiling import ProfileReport
import pandas as pd
df = pd.read_csv("data.csv")
# Control which sections appear
profile = ProfileReport(
df,
title="Selective Report",
samples={
"head": 10, # Show first 10 rows
"tail": 10 # Show last 10 rows
},
duplicates={
"head": 10 # Show first 10 duplicate rows
},
correlations={
"pearson": {"calculate": True},
"spearman": {"calculate": False}, # Skip Spearman
"kendall": {"calculate": False}, # Skip Kendall
"phi_k": {"calculate": False} # Skip Phi-K
},
missing_diagrams={
"bar": True,
"matrix": False, # Skip matrix
"heatmap": False # Skip heatmap
}
)
profile.to_file("selective_report.html")
Export Options:
from ydata_profiling import ProfileReport
import pandas as pd
import json
df = pd.read_csv("data.csv")
profile = ProfileReport(df, title="Export Demo")
# Export to HTML
profile.to_file("report.html")
# Export to JSON
profile.to_file("report.json")
# Get JSON as string
json_output = profile.to_json()
# Get as dictionary
description_dict = profile.get_description()
# Save widgets for notebook
profile.to_widgets()
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-complete-milestone
Archive completed milestone and prepare for next version
gsd-reapply-patches
Reapply local modifications after a GSD update
gsd-verify-work
Validate built features through conversational UAT
gsd-thread
Manage persistent context threads for cross-session work
clinical-trial-protocol
Generate clinical trial protocols for medical devices or drugs through a modular, waypoint-based architecture with research-only and full protocol modes.
single-cell-rna-qc
Performs quality control on single-cell RNA-seq data (.h5ad or .h5 files) using scverse best practices with MAD-based filtering and comprehensive visualizations.
Didn't find tool you were looking for?