grouped-statistics SKILL.md skillA
grouped-statistics from opensensenova/sensenova-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add opensensenova/sensenova-skills/grouped-statistics@git:20260426.f0ab496Pins git:20260426.f0ab496 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- opensensenova/sensenova-skills
- Path
skills/sn-da-excel-workflow/capability/excel-data-statistics/grouped-statistics/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260426.f0ab496, committed Apr 26, 2026
- Size
- 3,803 bytes
- Repository stars
- 6,031
- License
- MIT
对多 Sheet 的 Excel 文件进行行数统计、数据合并与前向填充。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
## Skill Steps > **Note**: This sub-skill covers one step of the Excel analysis workflow. For the full pipeline (file reading, row counting, large-file optimization, export), see the parent workflow SKILL.md. Step1 提取关键维度与指标信息,处理合并单元格缺失值,并进行多表交叉分析与排序。 ```python import pandas as pd # 设定目标列名 group_col = '行业名称' target_val_1 = '企业单位数' target_val_2 = '工业总产值' # 读取第一个 Sheet 并清洗 df1 = pd.read_excel(file_path, sheet_name=sheet_names[0], header=None) # 假设数据从第 21 行开始,提取维度列与数值列 data_1 = df1.iloc[21:63, [0, 2]].copy() data_1.columns = [group_col, target_val_1] # 处理合并单元格:前向填充维度列 data_1[group_col] = data_1[group_col].ffill() data_1[target_val_1] = pd.to_numeric(data_1[target_val_1], errors='coerce') # 读取第二个 Sheet 并提取补充指标 df2 = pd.read_excel(file_path, sheet_name=sheet_names[1], header=None) data_2 = df2.iloc[5:47, [0, 1]].copy() data_2.columns = ['temp_dim', target_val_2] data_2[target_val_2] = pd.to_numeric(data_2[target_val_2], errors='coerce') # 交叉分析:基于索引或维度列合并 merged_df = pd.merge(data_1, data_2.reset_index(), left_index=True, right_index=True, how='inner') merged_df = merged_df[[group_col, target_val_1, target_val_2]].dropna(subset=[target_val_1]) # 筛选 Top N 结果 …
Read the whole file at its exact version.
How to install
mdr add opensensenova/sensenova-skills/grouped-statistics@sha256:6f9c47608f23c2d0The line at the top of this page pins the label git:20260426.f0ab496, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_yzgilvfwu7lfzdut)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Apr 26, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (3803 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
opensensenova/sensenova-skills · 6,031 stars · license MIT · pushed 2026-11-03 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_yzgilvfwu7lfzdut GET https://markdownregistry.com/api/v1/resolve?ref=opensensenova/sensenova-skills/grouped-statistics GET https://markdownregistry.com/api/v1/blob/6f9c47608f23c2d05a127408be6930b42ec495c9a1d8b9bbb37d1b0c0113c2f1
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.