pandas读取excel文件
import pandas as pd xls_file = pd.ExcelFile("examples/ex1.xlsx") table = xls_file.parse("Sheet1") print(table) ''' Unnamed: 0 a b c d message 0 0 1 2 3 4 hello 1 1 5 6 7 8 world 2 2 9 10 11 12 foo '''
本文来自博客园,作者:OTAKU_nicole,转载请注明原文链接:https://www.cnblogs.com/nicole-zhang/p/14421890.html