Posted by Andrew B. Collier on 2015-05-16.
Suppose you have a data frame with a number of columns.
You want to put the Trader and System columns first but you also want to do this in a flexible way. One approach would be to specify column numbers.
This does the job but it’s not very flexible. After all, the number of columns might change. Rather do it by specifying column names.