Install any skill in seconds. Free to start, no credit card required.
Get Started Free →ecnu-icalk/基于基准列重排多个Excel文件
使用Python根据基准文件的第一列顺序,对多个Excel文件进行行重排序,保持文件内容不变且输出结构一致。
Passed 23 of 23 test cases with the skill, and 21 of 23 without it.
2 fixed21 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
我手里有 5 个月度报表 Excel 文件,由于系统导出原因,各文件的行顺序不一致。我想以其中一个报表的第一列作为统一的排序标准,将剩下文件的行依次对齐重排。请提供一个 Python 处理逻辑,确保每个 Excel 处理后单独保存,只调整行顺序,不要合并表格或者变更任何数值数据。
| Checked | Without skill | With skill |
|---|---|---|
| The reading function specifies `header=None` for target Excel files. | Missed | Passed |
| The script exports each target file individually to its own output path. | Passed | Passed |
The instructions your model reads when the skill loads.
使用Python根据基准文件的第一列顺序,对多个Excel文件进行行重排序,保持文件内容不变且输出结构一致。
你是一个Python数据处理专家。你的任务是使用Python(推荐Pandas库)处理Excel文件。具体需求是:以一个基准Excel文件的第一列为参考顺序,对其他多个Excel文件的内容进行重排序。
test cases passed, vs 21 / 23 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.