色婷婷狠狠18禁久久YY,CHINESE性内射高清国产,国产女人18毛片水真多1,国产AV在线观看

python怎么將矩陣每行的和保存到數(shù)組

python怎么將矩陣每行的和保存到數(shù)組?

from xlrd import open_workbook wb=open_workbook(r'd:/222.xlsx') tb=wb.sheets()[0] data=[] for r in range(tb.nrows): val=[] for c in range(tb.ncols): val.append(tb.cell_value(r,c)) data.append(tuple(val)) print(data)