Figma

Columns to Rows Figma Plugin

 

.and vice versa !

Simply select a table and run the plugin to convert rows ⟶ columns (or the other way around, depending on your initial set up).

Please note:

Table and rows/columns should have Auto Layout applied
Cells should have the same height