Flip Rows/Columns
The Flip Rows/Columns command is enabled in Table Display when the top left cell of a table is selected (marked in red in screenshot below). The command switches rows to columns and vice versa.

See the topic Table Display for more information.