I have multiple csv files that i need to combine. Table structure looks like below. I want the output to look like Table 3 and 4. I have tried to used to the columns to rows transpose but the input tables are not fixed and can change with new lines added etc, so not exactly sure how to do this
Table 1
LineAtt1Att21X 502X 493X 334X 895X 906X 45Table 2
LineAtt1Att21Y 232Y 143Y 514Y 785Y 346Y 78Table 3
Line123456Att1 (Table1)XXXXXXAtt1 (Table2)YYYYYYTable 4
Line123456Att2(Table1)504933899045Att2(Table2)231451783478@takashi