ai_member_xiaoban/check_new_word_lib.py
2026-03-14 08:00:01 +08:00

12 lines
532 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import pandas as pd
# 新的定稿单词库路径
new_file = "/root/.openclaw/media/inbound/â_¼ï_LV1-å_ç_å_è_åº_-ç¼_å_é_è_ç_è_é---23d539f8-33d6-4679-b9ae-91520114ae54.xlsx"
# 原始带详细字段的单词表路径
origin_file = "/root/.openclaw/media/inbound/é_¾åº_æ_æ_å_è_ç³_æ_1.0---8b762144-a4a3-481d-bdb8-b3b0dcbf875a.xlsx"
print("===== 新定稿单词库结构 =====")
df_new = pd.read_excel(new_file)
print(f"列名:{list(df_new.columns)}")
print(f"前10行数据预览\n{df_new.head(10)}")