I have an excel file (xlsx). The values are read as unicode values.
wb = xlrd.open_workbook('file.xlsx')
sh = wb.sheet_by_index(0)
first_column = sh.col_values(0)
snd_column = sh.col_values(1)
Output is in the form of:
first_column=['', u'here', u'here i am', u'where', u'where i am']
snd_column=['', u'20 km', ' ', u'10 km', u'23 km']
Empty cells are read as normal empty strings.
How do I get output/read the file directly in strings form. like
first_coulmn=['', 'here', 'here i am', 'where', 'where i am']
snd_coulmn=['', '20 km', ' ', '10 km', '23 km']
I am looking are computationally effective method. Any tips?