Closed lokeshh closed 8 years ago
Works. My only sugesstion is that the method name should be something descriptive like DataFrame#reorder_vectors
.
Is order=
fine?
Alright. When order=
is used, the new order passed should contain all the vector names that were present in the previous order. That way order=
will be different from vectors=
, which allows you to change the names of the vectors.
I want to reorder vectors in a dataframe. For example: