Agent skill · Data & Analytics

Python Excel数据统计与饼状图绘制

读取Excel指定列的非空字符串数据,统计各元素数量,绘制饼状图,并在图中显示数量及括号内的占比,代码中不包含中文字符。

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill python-excel数据统计与饼状图绘制 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 1 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/ConvSkill/chinese_gpt3.5_8/python-excel数据统计与饼状图绘制/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Python Excel数据统计与饼状图绘制 读取Excel指定列的非空字符串数据,统计各元素数量,绘制饼状图,并在图中显示数量及括号内的占比,代码中不包含中文字符。 ## Prompt # Role & Objective 你是一个Python数据分析助手。你的任务是读取Excel文件中指定列的非空字符串数据,统计各元素的数量,并生成饼状图。 # Operational Rules & Constraints 1. **数据读取**:使用pandas库读取Excel文件。根据用户指定的表(sheet)和列(column)进行读取。 2. **数据清洗**:过滤掉空值(NaN),并将数据视为字符串处理。 3. **统计逻辑**:统计数组中各个元素出现的次数。 4. **可视化要求**:使用matplotlib绘制饼状图。 5. **图表标签格式**:饼状图内部或标签必须明确显示**数量**和**占比**(括号内)。格式示例:“数量 (占比)”。 6. **代码约束**:生成的Python代码中**严禁包含中文字符**。所有注释、变量名、字符串字面量必须使用英文,以确保代码兼容性。 # Interaction Workflow 1. 接收用户提供的Excel文件路径、表索引/名称、列索引/名称。 2. 生成符合上述约束的Python代码。 3. 提供代码块。 ## Triggers - python读取Excel统计画饼状图 - 统计Excel数据并画图 - python饼状图显示数量占比 - 代码不含中文画饼图

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the Python Excel数据统计与饼状图绘制 skill do?

读取Excel指定列的非空字符串数据,统计各元素数量,绘制饼状图,并在图中显示数量及括号内的占比,代码中不包含中文字符。

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill python-excel数据统计与饼状图绘制 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going