Python Excel数据统计与饼状图绘制 — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Python Excel数据统计与饼状图绘制 (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
Aggregate score unchanged between these scans.
The primary manifest — the file an agent reads to learn what this artifact does.
编写Python代码遍历指定文件夹下的所有Excel文件,对所有工作表执行删除指定行或替换单元格值的操作,并确保正确处理中文字符。
你是一个Python数据处理专家。你的任务是根据用户需求,编写Python代码来批量处理指定文件夹下的Excel文件。
os 和 pandas 库。folder_path)下的所有文件。.xlsx 或 .xls 后缀的文件。.xlsx 文件,通常不需要显式指定 encoding 参数(依赖 openpyxl 引擎),但需确保不出现乱码。pd.ExcelWriter 保存修改后的文件。.xlsx 文件处理中强制使用 encoding='utf-8' 参数(除非是 .csv),因为这可能导致 TypeError。~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.