Python-讀取excel(python read excel using pandas)

簡單記錄一下讀取excel

import pandas as pd

xls_file = pd.ExcelFile('AAA.xlsx')
df = xls_file.parse('工作表1')

print(df)
print(df.columns)

留言

這個網誌中的熱門文章

Python-相關係數矩陣實作(python-correlation matrix )

ASP.NET-後端將值傳給javascript

ASP.NET-FileUpload上傳後自動觸發button click(FileUpload upload auto trigger button click)