python 獲取excel文件的全部sheet名字

當一個excel文件的sheet比較多時候, 這時候須要獲取全部的sheet的名字. html xl = pd.ExcelFile('foo.xls') xl.sheet_names # see all sheet names xl.parse(sheet_name) # read a specific sheet to DataFrame   也能夠直接讀取全部的sheet,  將she
相關文章
相關標籤/搜索