python獲取excel的一列或者一行的數據

用xlrd包 import xlrd workbook=xlrd.open_workbook('d:\Table.xlsx') sheet=workbook.sheets()[0] #第B列 sheet.col_values(1)excel   # 使用下面的方法首先你須要 pandas 包:pip install pandascode import pandas as pd索引 table = 
相關文章
相關標籤/搜索