I'm trying to restructure the following expression:
start = Table[{1, 2, 3, 4}, 5];
Join[{ToString /@ {first, second, third, fourth}},start]
Into this:
final =Table[{1, 4, 2, 3}, 5];
Join[{ToString /@ {first, fourth,second, third}},final]
Ideally I would like to do this with rules (i.e. exchange columns). It would be even better if I could do it by the column header name. Please assume the variables are not homogeneous throughout the column.
Thanks!