技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
configuration-and-output【数据与研究】Guides fg-data-profiling Settings, YAML config, environment variables, report sections, HTML assets, cache, and serialization workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a user wants to control report contents, performance, HTML rendering, YAML settings, environment variables, cache invalidation, or serialization.
Settings, shorthands, config-file patterns, and important field names.invalidate_cache(), dump(), load(), and .pp serialized reports.| User intent | Start with |
|---|---|
| Large dataset, faster report | minimal=True, a minimal YAML, or disable correlations/interactions/missing diagrams/samples/duplicates |
| Privacy-aware report sections | samples=None, duplicates=None, sensitive workflow in comparison/quality sub-skill |
| Branded HTML report | html={"style": {"theme": "flatly", "primary_colors": [...]}} and output reference |
| External assets instead of inline HTML | html={"inline": False} and preserve the generated assets directory |
| Programmatic settings object | from data_profiling.config import Settings and mutate before report computation |
| Environment-variable control | Use PROFILE_-prefixed variables, for example PROFILE_TITLE or JSON-valued PROFILE_PLOT |
| Re-render after changing config | profile.invalidate_cache() or construct a new ProfileReport |
Use current source names. In particular, categorical frequency plot settings
live under plot.cat_freq, not stale plot.pie naming.
profile = ProfileReport(
df,
title="Configured profile",
samples=None,
correlations=None,
missing_diagrams=None,
duplicates=None,
interactions=None,
plot={"cat_freq": {"show": False}},
html={"inline": False, "style": {"theme": "united"}},
)
Use a YAML config when the same settings should be reused by API and CLI.
Do not combine a config file with minimal=True or CLI --minimal.
profile = ProfileReport(df, config_file="profiling-config.yml")
data_profiling --silent --config_file profiling-config.yml data.csv report.html
When generating settings for a user, prefer the bundled config writer or a small
snippet that parses with Settings.from_file(). For output behavior, create a
tiny local DataFrame and verify that the expected HTML/JSON file and assets
exist before using the same settings on real data.