Why does a get_squared_range object appear?
Created originally on Bitbucket by chrisjvargo (Chris Vargo (chrisjvargo))
Just loading in an excel file using openpyxl.
from openpyxl import load_workbook
filename = 'test.xlsx'
wb = load_workbook(filename, use_iterators=True)
ws = wb.get_sheet_by_name('Sheet1')
print(ws['A1'])
>>> <generator object get_squared_range at 0x102c0b5a0>
The documentation suggests an get_squared_range object is generated for blank cells, but the cell is not empty. It should return '1234'
Attachments: test.xlsx