16 lines
595 B
Python
16 lines
595 B
Python
import pandas as pd
|
||
|
||
# 文件路径
|
||
file1 = "/root/.openclaw/media/inbound/é_¾åº_æ_æ_å_è_ç³_æ_1.0---8b762144-a4a3-481d-bdb8-b3b0dcbf875a.xlsx"
|
||
file2 = "/root/.openclaw/media/inbound/â_¼ï_LV1-å_ç_å_è_åº_-ç¼_å_é_è_ç_è_é---286e16db-d460-460d-95a4-242f28a0429c.xlsx"
|
||
|
||
print("===== 第一份表格结构 =====")
|
||
df1 = pd.read_excel(file1)
|
||
print(f"列名:{list(df1.columns)}")
|
||
print(f"前5行数据:\n{df1.head()}\n")
|
||
|
||
print("===== 第二份表格结构 =====")
|
||
df2 = pd.read_excel(file2)
|
||
print(f"列名:{list(df2.columns)}")
|
||
print(f"前5行数据:\n{df2.head()}")
|