✂️
AutomationPython

Split Excel By Column

by CoderWanFeng

Split Excel By Column is an Automation skill for Claude Code, published by CoderWanFeng in python-office.

1.3K stars299 forkson CoderWanFeng/python-officeAdded 2026/07/20Repository updated 2026/08/04
officepippypipythonweixin
Install in seconds
Install Split Excel By Column
Copy Split Excel By Column into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/CoderWanFeng/python-office/tree/develop/skills/excel/split_excel_by_column ~/.claude/skills/split_excel_by_column

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/CoderWanFeng/python-office.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/excel/split_excel_by_column/SKILL.md in CoderWanFeng/python-office
Installs to
~/.claude/skills/split_excel_by_column
Collection
One of 50 skills cataloged from this repository
Category
Automation2226 skills

What Split Excel By Column does

Splits an Excel file into multiple files based on unique values in a specified column. Useful when you need to separate data by categories like regions or departments.

Split Excel By Column is cataloged under Automation on DirSkills. Split Excel By Column comes from a repository tagged office, pip, pypi, python and weixin.

Documentation

README

split_excel_by_column Skill

按指定列的内容拆分 Excel 文件

功能描述

根据指定列的内容,将一个 Excel 文件拆分为多个 Excel 文件,每个唯一值对应一个新文件。

所属分类

office/skills/excel/split_excel_by_column/

调用方式

from skills.excel import split_excel_by_column

split_excel_by_column(
    filepath='./data.xlsx',
    column=0,
    worksheet_name=None
)

参数说明

参数 类型 必填 默认值 说明
filepath str - 需要拆分的 Excel 文件路径
column int - 按哪一列的内容进行拆分(列索引)
worksheet_name str None 指定工作表名称。默认处理第一个工作表

返回值

None

使用示例

from skills.excel import split_excel_by_column
# 按第 0 列拆分
split_excel_by_column(filepath='./orders.xlsx', column=0)

原始函数

office.api.excel.split_excel_by_column

Frequently asked about Split Excel By Column

  • What else does CoderWanFeng publish alongside Split Excel By Column?

    Split Excel By Column is one of 50 skills that DirSkills catalogs from CoderWanFeng/python-office, the repository it ships in. Its siblings there include Add Image Watermark, Add Line by Type and Add Text Watermark. Each one is a separate skill with its own page in this directory, installs the same way Split Excel By Column does, and is maintained by CoderWanFeng in that same repository. The rest of the collection is listed on the CoderWanFeng/python-office page.

  • How does Split Excel By Column compare to other Automation skills?

    Split Excel By Column ranks #676 by stars among the 2226 Automation skills in this catalog. The most-starred ones next to it are Autonomous Loops, Autonomous Agent Harness and Automation Audit Ops. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Split Excel By Column against them. Open each page to compare what they document and how they install.