Im having troubles getting all the row of a column. i have this
def excel(request):
file_location = "proyectos.xls"
workbook = xlrd.open_workbook(file_location)
sheet = workbook.sheet_by_index(0)
for col in range(sheet.ncols):
data = sheet.cell_value(0,col)
return HttpResponse (data)
but this is returning the number of the all columns, does not return the values of the columns, how can i get all the values of a column excepting the header?