pythonicrubyist / creek

Ruby library for parsing large Excel files.
http://rubygems.org/gems/creek
MIT License
388 stars 109 forks source link

can not read data if a single row only contains an image #99

Closed killernova closed 1 year ago

killernova commented 3 years ago

As described in the title, sheet.rows.to_a.first will return {} if the first row only contains one image and without any text.

Another issue is, if one row, let's say the first row, contains an image, e.g. row['D1'] is an image, and row['E1'] is blank, and other columns have one text at least, e.g. row['F1'] = 'example', then when we read data in creek, we'll find that row['D1'] == row['E1'] == image