When trying to access a cell via worksheet[#][#] beyond the first 90 cells, I receive a pygsheets.exceptions.CellNotFound error from a worksheet that has almost 3000 cells.
I've run a find to find all the cells with a certain value that I need to use as a reference to retrieve data from an adjacent cell. Going through the produced list I can see all of the cells containing the identifier. Not knowing another method to use, I used worksheet[row][column] using the cell list indices as a reference to find the adjacent cell for the data to be retrieved. When I reach a cell in the 90 range, the script fails in a cell not found error. I've tried directly referencing any cell beyond this 90 range and all I receive is the same error.
The find is necessary as the data that is being retrieved is at "at least" every 13 cells, but some sections expand beyond that limit and therefore throws off a consistent iteration.
for x in range(80, 90):
print(wks[x][41])
error happens at 89
Traceback (most recent call last):
File "<<filepath of .py script>>", line 88, in <module>
print(wks[379][41])
File "<<pygsheets filepath>>", line 1483, in __getitem__
raise CellNotFound
pygsheets.exceptions.CellNotFound
pygsheets version 2.0.2 installed via PyCharm