>a = numpy.zeros((ws.max_row, ws.max_column), dtype=float)
>for y, row in enumerate(ws.rows):
>   a[y] = [cell.value for cell in row]



Peter, 

As I used this code, it gave me an error that cannot convert string to float 
for the first cell. All cells are strings.

 
Regards,
Mahmood
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to