Is there a generic way to simply flip a table around the top-left to bottom-right diagonal axis?
For instance, if I had this:
name b c d e f
foo 1 2 3 4 5
bar 5 4 3 2 1
la 9 8 7 6 5
And I instead want this:
name foo bar la
b 1 5 9
c 2 4 8
d 3 3 7
e 4 2 6
f 5 1 5