I find select(df, cols, :)
quite readable. Similarly, to insert them at position 2 you can use select(df, 1, cols, :)
. Or for position 3, select(df, 1:2, cols, :)
.
6 Likes
I find select(df, cols, :)
quite readable. Similarly, to insert them at position 2 you can use select(df, 1, cols, :)
. Or for position 3, select(df, 1:2, cols, :)
.