Gimy
2020年2月11日 星期二
load excel
import pandas as pd
df = pd.read_excel (r'D:\Python_Test.xlsx')
#for an earlier version of Excel, you may need to use the file extension of 'xls'
lines = df.values
cols = df.columns
for i in cols:
print(i)
for i in lines:
print(i)
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
查看行動版
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言