Search

PythonReactSEOPDF
OpenClaw

simple-excel

简单的 Excel 文件处理工具。用于读取、创建、编辑 .xlsx 和 .csv 文件,适合基本的数据操作任务,如读取数据、简单计算、生成表格等。

anmu146410 source installs☆ 0 Repository starsv1.0.0

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install anmu14641/simple-excel

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

Simple Excel - 简化版 Excel 处理

快速开始

读取 Excel 文件
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 文件
import pandas as pd

# 保存为 xlsx
df.to_excel('output.xlsx', index=False)

# 保存为 csv
df.to_csv('output.csv', index=False)
简单数据处理
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 格式

Source information

Source
github
Repository
openclaw/skills
Path
skills/anmu14641/simple-excel
Version
1.0.0
Commit
a4cffde08706591b65da33e67547ae77d0022f3e
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# 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 格式

Related skills

OpenClaw

x402hub

capncoconut

Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...

OpenClaw

claw

capevace

Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.

OpenClaw

captchas-openclaw

captchasco

OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.