agentleFS
28672032962867203296/hermes-agent/skills/software-development/data-engineering/SKILL.md

data-engineering

Skill0 starsChanged 3 months agoMITView on GitHub

数据处理:ETL流水线、Pandas速查、大文件处理、流式读取.

26 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use qa-testing, infrastructure-as-code and 8 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • miketrombaSkill

    qa-testing

    Autonomously QA and verify the application using browser automation. Use when verifying code changes, testing features, validating bug fixes, or confirming any work done on the application. Triggers on requests to "test this", "verify this works", "QA this change", "make sure it works", or after implementing features that need validation.

    Also in 3 projects that use this

  • mmondoraSkill

    infrastructure-as-code

    Infrastructure as Code with Terraform and Pulumi. State management, modularity, drift detection, secrets handling. Use when provisioning cloud resources, writing Terraform/Pulumi modules, or managing infrastructure configuration.

    Also in 3 projects that use this

  • onejaejaeSkill

    api-documentation

    API 문서화 스킬. Notion과 Postman에 API 명세를 추가합니다. Use when documenting APIs, updating Notion database, or adding Postman requests.

    Also in 3 projects that use this

  • OpenAISkill

    observability

    Vercel Observability expert guidance — Drains (logs, traces, speed insights, web analytics), Web Analytics, Speed Insights, runtime logs, custom events, OpenTelemetry integration, and monitoring dashboards. Use when instrumenting, debugging, or optimizing application performance and user experience on Vercel.

    Also in 6 projects that use this

  • jx1100370217Skill

    security-hardening

    Harden OpenClaw security configuration. Use when: (1) Setting up security for new OpenClaw installation, (2) Configuring exec approvals and allowlists, (3) Securing gateway access, (4) Setting up tool policies, (5) User asks about OpenClaw security or hardening.

    Also in 3 projects that use this

  • AnthropicSkill

    system-design

    Design systems, services, and architectures. Trigger with "design a system for", "how should we architect", "system design for", "what's the right architecture for", or when the user needs help with API design, data modeling, or service boundaries.

    Also in 4 projects that use this

The file

Files
SKILL.md

数据处理

ETL 流水线

Extract(提取)→ Transform(转换)→ Load(加载)

原始数据(CSV/JSON/API/DB)
  → 清洗(去重、补缺、格式统一)
    → 转换(计算、聚合、关联)
      → 加载到目标(DB/文件/API)

Pandas 速查

import pandas as pd

# 读取
df = pd.read_csv("data.csv")
df = pd.read_json("data.json")
df = pd.read_sql("SELECT * FROM users", conn)

# 查看
df.head(10)           # 前10行
df.info()             # 列类型、空值
df.describe()         # 统计摘要(均值/方差/分位数)
df.shape              # (行数, 列数)

# 选择
df["name"]            # 单列
df[["name", "age"]]   # 多列
df[df["age"] > 18]    # 过滤
df.iloc[0:10]         # 按位置选择

# 转换
df["age"] = df["age"].astype(int)     # 类型转换
df["name"] = df["name"].str.upper()   # 字符串操作
df["score"] = df["score"].fillna(0)   # 填充空值
df.drop_duplicates()                  # 去重

# 聚合
df.groupby("department")["salary"].mean()
df["category"].value_counts()
df.pivot_table(values="sales", index="region", columns="month")

# 合并
pd.merge(users, orders, on="user_id")
pd.concat([df1, df2])

# 导出
df.to_csv("output.csv", index=False)
df.to_json("output.json")
df.to_sql("users", conn, if_exists="replace")

大文件处理(内存放不下)

# 逐块读 CSV
for chunk in pd.read_csv("big.csv", chunksize=10000):
    process(chunk)

# 逐行读 JSON
import ijson
with open("big.json") as f:
    for record in ijson.items(f, "item"):
        process(record)

# 流式读文件
with open("big.txt") as f:
    for line in f:       # 一次只读一行到内存
        process(line)

常见数据问题

1. 空值:df.fillna() / df.dropna()
2. 重复:df.drop_duplicates()
3. 类型错误:df["col"].astype()
4. 编码问题:pd.read_csv("file", encoding="utf-8")
5. 日期解析:pd.to_datetime(df["date"])
6. 异常值:Q1-1.5*IQR < x < Q3+1.5*IQR

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.