I\'m writing a program that will print a table on a pdf page, but in order to do that, the table need to be rearranged in python. I Would like to write a python function that wo