# python-excel-tools **Repository Path**: aa361604324/python-excel-tools ## Basic Information - **Project Name**: python-excel-tools - **Description**: Excel CSV 合并清洗、去重和数据整理示例 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-06-16 - **Last Updated**: 2026-06-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # python-excel-tools CSV / Excel 数据整理小工具示例。 适合场景: - 多个 CSV 文件合并 - 按指定字段去重 - 清理空格、统一大小写、整理手机号 / 邮箱等字段 - 输出一个干净结果表 ## 示例输入 `examples/customers_a.csv` `examples/customers_b.csv` ## 示例输出 `outputs/customers_merged.csv` ## 运行 ```bash python3 scripts/merge_clean_csv.py examples outputs/customers_merged.csv --dedupe-key email ``` ## 验证 ```bash bash run_checks.sh ``` 验证内容: - 字段清洗和去重逻辑单元测试 - 示例 CSV 合并脚本实跑 - 输出 `outputs/customers_merged.csv` ## 客户需要提供 - 原始 Excel / CSV - 想保留哪些字段 - 按什么规则去重 - 最终样例格式 简单需求可以当天处理;复杂规则先做一小批样例确认。