
Sn Da Excel Workflow
A comprehensive Excel analysis orchestrator that handles the full pipeline from multi-sheet reading to formatted report export. The workflow is built around a critical 10k row threshold: files under 10k load directly, 10k to 100k get auto-cached to Parquet, and anything over 100k delegates to a streaming parser to avoid memory crashes. Each step maps to capability sub-skills covering cleaning (missing values, text normalization, regex extraction), filtering (condition/category/range), cross-sheet aggregation, and formatted export with download links. The architecture is explicitly defensive: it bans pd.read_excel for large files, prohibits .apply() loops over 100k rows, and includes a hardcoded CJK font setup block to prevent matplotlib font-hunting disasters. Use this when you want structured, memory-safe Excel workflows instead of ad-hoc pandas scripts.
- skills.sh installs
- 147
- GitHub stars
- 6.1K
- last updated
- Jun 11, 2026
Install
$ npx -y skills add opensensenova/sensenova-skills --skill sn-da-excel-workflow --agent claude-codeInstalls into .claude/skills of the current project.
Files
Excel Data Analysis Workflow
End-to-end workflow for structured Excel analysis. Each step maps to a capability sub-skill that can be loaded for detailed patterns.
Workflow
Step 1 — Count rows across all sheets (lightweight, no full load)
Count rows per sheet without loading data into memory. Use openpyxl
read_only mode — this works for any file size.
import openpyxl, gc
wb = openpyxl.load_workbook(file_path, read_only=True, data_only=True)
total_rows = 0
sheet_info = {}
for name in wb.sheetnames:
ws = wb[name]
row_count = sum(1 for _ in ws.iter_rows(min_row=2, values_only=True))
total_rows += row_count
sheet_info[name] = row_count
print(f"Sheet '{name}': {row_count} rows")
wb.close()
print(f"总行数={total_rows}")
⚠️ Do NOT use pd.read_excel() to count rows — it loads all data into
memory, which will OOM on large files.
→ capability: excel-reading/multi-sheet-reading
Step 2 — Large file gate (CRITICAL — choose strategy by row count)
Sponsors
Details
- Repository
- github.com/opensensenova/sensenova-skills
- Categories
- Data Science & ML, Automation & Workflows, Office & Documents, Video & Audio Editing
- License
- MIT
- First seen
- Jun 11, 2026
More from opensensenova/sensenova-skills
All 26- Sn Da Image Caption143
- Sn Ppt Creative140
- Sn Da Large File Analysis135
- Sn Ppt Doctor135
- Sn Research Report135
- Sn Report Format Discovery134
- Sn Search Academic134
- Sn Image Imitate133
- Sn Search Code131
- Sn Search Social Cn131
- Sn Search Social En127
- Sn Update113
- Sn Da Non Spreadsheet Analysis
- Sn Dimension Research
- Sn Research Planning
- Sn Research Synthesis
- Sn Search Image
- Sn Image Base190
- Sn Infographic180
- Sn Ppt Standard170
- Sn Ppt Entry162
- Sn Md To Html Report161
- Sn Image Doctor153
- Sn Image Resume153