简单的 Excel 文件处理工具。用于读取、创建、编辑 .xlsx 和 .csv 文件,适合基本的数据操作任务,如读取数据、简单计算、生成表格等。
Scanned 9/5/2026
Install to Claude Code
npx -y skills add dvcrn/openclaw-skills-marketplace --skill simple-excel --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Simple Excel?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/dvcrn-simple-excel)More formats (shields.io, HTML) on the badges page.
---
name: simple-excel
description: "简单的 Excel 文件处理工具。用于读取、创建、编辑 .xlsx 和 .csv 文件,适合基本的数据操作任务,如读取数据、简单计算、生成表格等。"
---
# Simple Excel - 简化版 Excel 处理
## 快速开始
### 读取 Excel 文件
```python
import pandas as pd
# 读取 xlsx 或 csv
df = pd.read_excel('file.xlsx')
df = pd.read_csv('file.csv')
# 读取指定sheet
df = pd.read_excel('file.xlsx', sheet_name='Sheet1')
```
### 写入 Excel 文件
```python
import pandas as pd
# 保存为 xlsx
df.to_excel('output.xlsx', index=False)
# 保存为 csv
df.to_csv('output.csv', index=False)
```
### 简单数据处理
```python
import pandas as pd
# 筛选数据
df[df['列名'] > 10]
# 添加新列
df['新列'] = df['列1'] + df['列2']
# 分组统计
df.groupby('类别').sum()
# 排序
df.sort_values('金额', ascending=False)
```
## 常用操作
| 操作 | 代码 |
|------|------|
| 查看前几行 | `df.head()` |
| 查看数据类型 | `df.dtypes` |
| 统计摘要 | `df.describe()` |
| 选择列 | `df[['列A', '列B']]` |
| 筛选行 | `df[df['列'] > 100]` |
| 删除列 | `df.drop('列名', axis=1)` |
| 重命名列 | `df.rename(columns={'旧名': '新名'})` |
| 填充空值 | `df.fillna(0)` |
| 导出指定sheet | `df.to_excel('file.xlsx', sheet_name='新sheet')` |
## 注意事项
- 使用 `index=False` 避免导出索引列
- 中文字符在 Excel 中通常能正常显示
- 大文件建议使用 csv 格式
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
This skill helps you track, analyze, and report on keyword ranking positions over time. It monitors both traditional SERP rankings and AI/GEO visibility to provide comprehensive search performance insights.