Hi, Is it possible to transpose the matrix like this using awk ? Many thanks in advance
Input
Output
Input
Code:
abc Name_1 0
abc Name_2 1
abc Name_3 2
abc Name_4 0.4
def Name_1 0
def Name_2 9
def Name_3 78
def Name_4 1
Code:
abc def
Name_1 0 0
Name_2 1 9
Name_3 2 78
Name_4 0.4 1