Jul-26-2019, 07:49 AM
greetings everyone
i am currently trying to insert the data from excel into the array but the output of it only an empty array
[]
i am currently trying to insert the data from excel into the array but the output of it only an empty array
Headers_ = [] Values_ = [] for i in range(sheet.nrows): if sheet.row_values(i,0) == 'mine': Row_list_ =[] Row_Val_ =[] for j in range(sheet.ncols): Row_list_.append(sheet.row_values(i,j)) Row_Val_.append(sheet.row_values((i+1),j)) Headers_.append(Row_list_) Values_.append(Row_Val_) print(Values_)output
[]