I have a list of urls that I'm trying to upload to a spreadsheet with pygsheets. For some reason, instead of updating cells in the specified range, the script only updates one cell. Relevant part of the script below:
wks = sheet.sheet1
wks.update_cells('A1:A5',[[img]])
where img is a list of URLs. Any help would be greatly appreciated!
updated snipped of code
res_list = []
wks = sheet.sheet1
header = wks.cell('A1')
header.value = 'URLs'
for i in res_list:
wks.update_values(crange='A2:A1000',
values=np.array([[image_name]]).tolist(), majordim='ROWS')