cas-bigdatalab/piflow/data-merge-concat
Claude Code and agent skill by cas-bigdatalab/piflow
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
数据纵向拼接工具。读取多个具有相同列结构的结构化数据文件,执行按行纵向追加合并(concat),输出单一合并文件。 当用户提到数据拼接、纵向合并、行合并、数据追加、文件合并等需求时使用此skill。 即使用户没有明确说出"拼接",只要任务涉及将多个同构数据文件上下合并为一个,就应该使用此skill。 不负责横向关联(join/merge on key)、字段级合并或非结构化文档聚合。如需按键值关联请使用其他skill。
Install
npx vskill@latest install cas-bigdatalab/piflow/data-merge-concatSKILL.md
Data Merge Concat 数据纵向拼接 Skill
功能概述
本skill用于将多个具有相同列结构的数据文件纵向拼接(按行合并)。
触发条件
当用户请求以下任务时,应使用此skill:
- 数据拼接/纵向合并
- 行合并/数据追加
- 多文件上下合并
核心参数说明
必需参数
| 参数 | 说明 | |
|---|---|---|
--input_files | 输入文件路径,多个文件用逗号分隔 | |
--output | 输出文件路径 |
可选参数
| 参数 | 说明 | 默认值 | |
|---|---|---|---|
--ignore_index | 是否忽略原索引重新编号 | True | |
--use_dask | 是否使用Dask处理大数据 | False | |
--blocksize | Dask分块大小 | 64MB |
输入文件格式
所有输入文件必须具有相同的列结构(列名和列数一致)。支持的格式:
- CSV (
.csv):逗号分隔值 - TSV (
.tsv):制表符分隔值 - Excel (
.xls,.xlsx):电子表格 - SPSS (
.sav):SPSS 数据文件
示例输入结构(file1.csv):
使用方法
基本用法(纵向拼接多个CSV文件)
保留原索引
使用Dask处理大数据
输出示例
命令行输出:
输出CSV格式:
环境要求
本skill使用标准Python数据科学库:
可选依赖(大文件Dask模式):
注意事项
- 所有输入文件必须具有相同的列结构和列数
- 输出文件格式由输出路径的扩展名决定
- 大文件合并建议开启Dask模式(
--use_dask True) - 混合编码文件(UTF-8/GBK)会自动检测编码
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingworkspace/skills/data_merge_concat/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/cas-bigdatalab/piflow/data-merge-concat)