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
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