formatted-export-with-parquet
Installation
SKILL.md
Formatted_Export
This sub-skill covers one capability of the Excel workflow. For reading/counting/Parquet optimization, see the parent workflow SKILL.md.
Skill Steps
Step1 对所有 sheet 进行扫描,通过模糊匹配定位目标列,筛选出符合条件(如空值或无效字符)的记录。
empty_target_rows = []
for sheet_name, sheet_df in all_sheets.items():
target_col = None
# 优先匹配目标列名(示例:包含特定关键字的列)
for col in sheet_df.columns:
if 'keyword1' in str(col).lower() or 'keyword2' in str(col).lower():
target_col = col
break