pandas中哪個函數可以讀取excel文檔excelfilepython?
import xlrddata = xlrd.open_workbook('excelFile.xls')table = data.sheets()[0] #通過索引順序獲取table = data.sheet_by_index(0) #通過索引順序獲取table = data.sheet_by_name(u'Sheet1')#通過名稱獲取
pandas中哪個函數可以讀取excel文檔excelfilepython?
import xlrddata = xlrd.open_workbook('excelFile.xls')table = data.sheets()[0] #通過索引順序獲取table = data.sheet_by_index(0) #通過索引順序獲取table = data.sheet_by_name(u'Sheet1')#通過名稱獲取