Skip to main content

data-validation-first

Use this skill before any data analysis, transformation, or modeling. Always inspect and validate the data before drawing conclusions or writing transformations.

来源信息

仓库
aiming-lab/MetaClaw
最近来源活动
2026年3月10日 18:04
检测到的 SKILL.md 语言
英语
星标
3,456
分支
450

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
data-validation-first
description
Use this skill before any data analysis, transformation, or modeling. Always inspect and validate the data before drawing conclusions or writing transformations.
category
data_analysis
# Data Validation First Before writing any analysis code, understand the data: ```python # Always run these first df.shape # rows x columns df.dtypes # column types df.isnull().sum() # missing values per column df.describe() # statistics for numeric columns df.head() # sample rows ``` **Key questions:** - Are there nulls in columns you'll join or filter on? - Are numeric columns stored as strings? (parse_dates, astype) - Are there unexpected duplicates (check primary key uniqueness)? - Does the row count match your expectation from the source? **Anti-pattern:** Running `.groupby().sum()` without first checking for nulls in the groupby key.
在 GitHub 查看