pyexcel.Sheet.reverse¶
-
Sheet.
reverse
()¶ Opposite to enumerate
each cell one by one from bottom row to top row and from right to left example:
>>> import pyexcel as pe >>> data = [ ... [1, 2, 3, 4], ... [5, 6, 7, 8], ... [9, 10, 11, 12] ... ] >>> m = pe.internal.sheets.Matrix(data) >>> print(list(m.reverse())) [12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1]
More details see
HBRTLIterator