Ubuntu Linux
How to switch rows and columns in a data table (text data.csv file) ?
How to switch rows and columns in a data table (text data.csv file) ?
Using datamash
Using datamash
# install datamash
sudo apt-get install datamash
# transpose data matrix table: turn row into columns
datamash transpose < data_rows.csv > newdata_columns.csv