csv-read
Read a CSV or XLSX file and return columns, shape, dtypes, and first N rows as JSON.
来源信息
- 仓库
- lamm-mit/scienceclaw
- 最近来源活动
- 2026年4月7日 03:06
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 249
- Forks
- 46
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
文件资源管理器
2 个文件正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- csv-read
- description
- Read a CSV or XLSX file and return columns, shape, dtypes, and first N rows as JSON.
# csv-read
Load a CSV or Excel file using pandas and return a JSON preview including column names, shape, data types, and the first N rows.
## Usage
```bash
python3 scripts/csv_read.py --path /data/results.csv --max-rows 50
```
## Output
JSON with keys: `columns`, `shape`, `dtypes`, `data` (list of rows).
在 GitHub 查看