Agent skill
sweetviz-common-issues
Sub-skill of sweetviz: Common Issues.
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/data/analysis/sweetviz/common-issues
SKILL.md
Common Issues
Common Issues
Issue: Report generation is slow
# Solution 1: Disable pairwise analysis
report = sv.analyze(df, pairwise_analysis="off")
# Solution 2: Sample data
report = sv.analyze(df.sample(50000))
# Solution 3: Skip high-cardinality columns
config = sv.FeatureConfig(skip=["high_card_col"])
report = sv.analyze(df, feat_cfg=config)
Issue: Memory error with large dataset
# Solution: Process in chunks or sample
sample_size = min(len(df), 100000)
report = sv.analyze(df.sample(sample_size, random_state=42))
Issue: HTML report won't open
# Solution: Save and open manually
report.show_html("report.html", open_browser=False)
# Then open report.html in browser
# Or specify layout
report.show_html("report.html", layout="vertical")
Issue: Categorical variables treated as numeric
# Solution: Force categorical type
config = sv.FeatureConfig(force_cat=["zip_code", "rating"])
report = sv.analyze(df, feat_cfg=config)
# Or convert before analysis
df["zip_code"] = df["zip_code"].astype(str)
Issue: Date columns not recognized
# Solution: Convert to proper datetime
df["date_col"] = pd.to_datetime(df["date_col"])
report = sv.analyze(df)
Issue: Report shows too many categories
# Sweetviz automatically limits to top categories
# For custom handling, reduce cardinality before analysis
df["category"] = df["category"].apply(
lambda x: x if x in top_categories else "Other"
)
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?