Skip to content
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

Add the option to sort a Dataframe by several columns #4981

Closed
1 task done
Tracked by #1201
clefourrier opened this issue Jul 20, 2023 · 2 comments · Fixed by #10778
Closed
1 task done
Tracked by #1201

Add the option to sort a Dataframe by several columns #4981

clefourrier opened this issue Jul 20, 2023 · 2 comments · Fixed by #10778
Assignees
Labels
💾 Dataframe enhancement New feature or request

Comments

@clefourrier
Copy link

  • I have searched to see if a similar issue already exists.

Is your feature request related to a problem? Please describe.
Users have requested to be able to sort the OpenLLMLeaderboard by several columns.
Example: we have a model type column in the ExtendedView (tab 2), and people would want to be able to sort by model type, then by average score, or by average score, then number of likes, ...

Describe the solution you'd like
I'd like users to be able to sort by several Columns in a Dataframe, which would imply the ability to "freeze" a primary sort column, then sort by a secondary column.

@pngwn
Copy link
Member

pngwn commented Jul 20, 2023

Just to clarify, this would mean that if the 'frozen' primary sort column had duplicate entries, sorting the secondary column would just reorder those duplicates among themselves while keeping everything else in the same order?

@clefourrier
Copy link
Author

Yes, exactly

@abidlabs abidlabs added the enhancement New feature or request label Jul 20, 2023
@freddyaboulton freddyaboulton added this to the Component Cleanup milestone Jul 24, 2023
@abidlabs abidlabs removed this from the Component Cleanup milestone Aug 10, 2023
@abidlabs abidlabs added this to the Component Cleanup milestone Aug 21, 2023
@abidlabs abidlabs self-assigned this Sep 18, 2023
@abidlabs abidlabs removed their assignment Oct 12, 2023
@abidlabs abidlabs removed this from the Component Cleanup milestone Nov 2, 2023
@hannahblair hannahblair reopened this Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💾 Dataframe enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants