'Returns the maximum row index containing data
:rtype: int'

@property
def max_row(self):

    max_row = 1
    if self._cells:
        rows = set((c[0] for c in self._cells))
        max_row = max(rows)
    return max_row
