L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Données et recherche · SKILL.md

configuration-and-output

configuration-and-output

Guides fg-data-profiling Settings, YAML config, environment variables, report sections, HTML assets, cache, and serialization workflows.

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: configuration-and-output description: "Guides fg-data-profiling Settings, YAML config, environment variables, report sections, HTML assets, cache, and serialization workflows." disable-model-invocation: true metadata: disco-role: operating license: MIT

Configuration and Output

Use this sub-skill when a user wants to control report contents, performance, HTML rendering, YAML settings, environment variables, cache invalidation, or serialization.

Read first

Common configuration routes

User intentStart with
Large dataset, faster reportminimal=True, a minimal YAML, or disable correlations/interactions/missing diagrams/samples/duplicates
Privacy-aware report sectionssamples=None, duplicates=None, sensitive workflow in comparison/quality sub-skill
Branded HTML reporthtml={"style": {"theme": "flatly", "primary_colors": [...]}} and output reference
External assets instead of inline HTMLhtml={"inline": False} and preserve the generated assets directory
Programmatic settings objectfrom data_profiling.config import Settings and mutate before report computation
Environment-variable controlUse PROFILE_-prefixed variables, for example PROFILE_TITLE or JSON-valued PROFILE_PLOT
Re-render after changing configprofile.invalidate_cache() or construct a new ProfileReport

Key source-verified field names

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"}},
)

YAML config pattern

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

Boundaries

Validation

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.

Skills enregistrées