pyexcel.Sheet.rvertical

Sheet.rvertical()

Default iterator to go through each cell one by one from rightmost column to leftmost row and from bottom to top example:

import pyexcel as pe
data = [
    [1, 2, 3, 4],
    [5, 6, 7, 8],
    [9, 10, 11, 12]
]
m = pe.Matrix(data)
print(pe.utils.to_array(m.rvertical())

output:

[12, 8, 4, 11, 7, 3, 10, 6, 2, 9, 5, 1]

More details see VBRTLIterator