-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable DataFrame to be sorted by multiple columns #92
Comments
Hey @changhiskhan check out my above changes, I was able to get about 4-5x improvement by switching to the fast ndarray zipper I wrote yesterday and calling
I made a slightly more complicated test dataset-- I'd love to get a stable sort going but I think it's going to be quicksort until someone writes mergesort or another stable sort for dtype=object went from 16.4 ms to 3.5 ms, not too bad-- bottleneck is sorting the tuples of course |
Is sort along multiple columns stable now? Or still unstable? |
multiple column sorting has been stable for quite a long time. single column sorting can be controlled via a |
Thanks! It didn't seem clear from the documentation whether multiple column sorting was stable. |
Code would look more or less like:
The text was updated successfully, but these errors were encountered: