How can I convert the following type of dataframe into another dataframe with columns being the entries in the Target column
Cq Target Sample Repeat
0 23.21562 NID1 Tgfb_48 4
1 23.31479 COL7A1 Tgfb_48 4
2 19.62652 COL1A2 Tgfb_48 4
3 20.99357 SERPINE1 Tgfb_48 4
4 25.26813 ELN Tgfb_48 4
i.e.
NID1 COL7A1 COL1A2 SERPINE ELN
[Sample, Repeat] ... cq values here