20 lines
623 B
Python
20 lines
623 B
Python
|
|
import pandas as pd
|
|
|
|
file_l2 = r'/root/.openclaw/workspace-xiaoyan/business_knowledge/L2单词表/L2新版独有单词.xlsx'
|
|
file_l1 = r'/root/.openclaw/workspace-xiaoyan/business_knowledge/L2单词表/L1完整.xlsx'
|
|
|
|
df_l2 = pd.read_excel(file_l2)
|
|
df_l1 = pd.read_excel(file_l1)
|
|
|
|
print("=== L2新版独有单词 ===")
|
|
print(f"行数: {len(df_l2)}, 列数: {len(df_l2.columns)}")
|
|
print(f"列名: {list(df_l2.columns)}")
|
|
print(df_l2.head(5).to_string())
|
|
print()
|
|
|
|
print("=== L1完整 ===")
|
|
print(f"行数: {len(df_l1)}, 列数: {len(df_l1.columns)}")
|
|
print(f"列名: {list(df_l1.columns)}")
|
|
print(df_l1.head(5).to_string())
|