360 Secure SkillHub
360 安全技能中心

csv-profiler

该 Skill 面向 CSV、TSV 或现有 DataFrame,先检测分隔符、编码和表头,再分类列类型,输出数值、分类和日期列的统计摘要,标记缺失、混合类型、重复行和离群值,最后建议删除、填充、类型转换和去重等清洗步骤。

分类:数据
widoxm
widoxm
热度 9.96
最近更新 2026-08-31 20:34:26

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add widoxm/csv-profiler
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
csv-profiler
description
Profile and analyze CSV or other tabular data — column types, summary statistics, missing values, and anomalies. Use when the user needs to understand, clean, or sanity-check a dataset.

CSV Profiler

Turn a raw CSV (or TSV, or an existing DataFrame) into a clear profile of what the data actually contains.

Workflow

  1. Load and detect. Read the file; detect delimiter, encoding, and header. Report row and column counts.

  2. Classify columns. For each column, assign a type: numeric, datetime, categorical, boolean, or free text.

  3. Summarize. For each column report:

    • Numeric: min, max, mean, median, missing count, distinct count.
    • Categorical: top values with counts, distinct count, missing count.
    • Datetime: min/max range and count of unparseable values.
  4. Flag anomalies. Call out:

    • Missing or empty values, and all-null columns.
    • Mixed types within a single column.
    • Duplicate rows and near-duplicate keys.
    • Outliers beyond roughly 1.5×IQR.
  5. Recommend. Suggest concrete cleaning steps (drop, fill, cast, dedupe) and note which columns look usable as identifiers or join keys.