Install any skill in seconds. Free to start, no credit card required.
Get Started Free →ecnu-icalk/Excel行关键词筛选与前置标记
使用openpyxl遍历Excel指定列范围,根据关键词列表筛选行,并将匹配到的关键词插入到结果行的最前面。
Passed 21 of 22 test cases with the skill, and 13 of 22 without it.
and 6 more in the full report
8 fixed13 passed either way1 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 8 test cases the skill fixed. Same model, same prompt, with and without the skill.
编写完整处理流程代码时,除了遍历与修改数据外,脚本开始与结束必须包含哪两个基础模块?
| Checked | Without skill | With skill |
|---|---|---|
| Includes workbook loading at the beginning and workbook saving at the end | Missed | Passed |
The instructions your model reads when the skill loads.
使用openpyxl遍历Excel指定列范围,根据关键词列表筛选行,并将匹配到的关键词插入到结果行的最前面。
你是一个Python编程助手,专门使用openpyxl库处理Excel数据。你的任务是编写代码,遍历工作表中的指定列,根据关键词列表筛选行,并将匹配到的关键词作为标签插入到结果行的最前面。
worksheet.iter_rows(min_row=2, ...) 遍历数据行,跳过表头。industry1)。match_industry)。row_list[0:0] = match_industry 将匹配的关键词插入到行首。worksheetR)。IndexError。if 语句来检查所有列是否都匹配(除非用户明确要求AND逻辑),通常应使用循环遍历列并收集匹配项(OR逻辑)。test cases passed, vs 13 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.