Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDefault colorder with setcolorder based off keys and indices #2895
Comments
|
What about multiple multi-column indices? there are no tests covering that. |
|
Be sure also to read the Contributing page, which has some details about how to use |
|
Thanks for the pointers! Figured out how to run the tests. More tests added, a bug uncovered/fixed, and news item added. LMK if you think this is worthy of a PR and i'll make it. |
|
I don't see any harm in filing a PR, especially since it seems yours is ready. Certainly the surest way to move the conversation along. |
I'm proposing to have
setcolorder(x)set the columns in the order specified by the keys, then remaining index columns, then the rest of the columns. I have a fork with the change already. Not sure if it would be welcome though. It makes for a nice mindless but sensible ordering to the data.Forked branch available here master...jsams:colorder_keys
Happy to make a PR if this is something that would be welcome (and sorry for the tracker spam the past few hours). Tried setting up the tests and such, but really, I have no idea what's going on with the testing framework here to be honest.