技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
profiling-workflows【数据与研究】Guides core fg-data-profiling ProfileReport workflows for pandas DataFrames, exports, time-series, type schemas, and report smoke checks.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the user wants to create, inspect, or export an
fg-data-profiling report with the Python API. This covers the current public
import data_profiling, ProfileReport, and the pandas df.profile_report()
convenience method.
sortby, minimal/config_file, deprecated imports, and widget
display failures.import pandas as pd
from data_profiling import ProfileReport
df = pd.DataFrame({"amount": [1.0, 2.5, 3.0], "segment": ["a", "b", "b"]})
profile = ProfileReport(df, title="Dataset profile", minimal=True, progress_bar=False)
profile.to_file("profile.html")
If the user already has a pandas DataFrame and has imported data_profiling,
the package also registers:
profile = df.profile_report(title="Dataset profile", minimal=True)
Prefer minimal=True or a sampled DataFrame for first-pass profiling of large
or unfamiliar data. Move performance tuning and report-section controls to
../configuration-and-output/SKILL.md
when the user asks for exact settings.
| User intent | Recommended start |
|---|---|
| Quick EDA report for a pandas DataFrame | ProfileReport(df, minimal=True) then to_file("report.html") |
| Full exploratory report with URL/file/image/text detection | ProfileReport(df, explorative=True) and review optional dependencies |
| Time-series EDA | ProfileReport(df, tsmode=True, sortby="time_column") if chronological order is a column |
| Known semantic column types | Pass type_schema={"col": "categorical"} or a time-series type schema |
| JSON profile values for automation | json.loads(profile.to_json()) or profile.get_description() |
| Sensitive dataset | Route to ../comparison-and-quality/SKILL.md before exposing samples/duplicates |
| Spark DataFrame | Route to ../integrations-and-backends/SKILL.md first |
ProfileReport or use cache invalidation from the configuration
sub-skill.