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

Freeze DataFrame columns #2407

Closed
1 task done
Tracked by #1201
Muennighoff opened this issue Oct 7, 2022 · 8 comments · Fixed by #10561
Closed
1 task done
Tracked by #1201

Freeze DataFrame columns #2407

Muennighoff opened this issue Oct 7, 2022 · 8 comments · Fixed by #10561
Assignees
Labels
💾 Dataframe enhancement New feature or request svelte Frontend-related issue (JS)

Comments

@Muennighoff
Copy link

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

It'd be nice to freeze DataFrame columns / rows when scrolling horizontally / vertically.

For example on this space built with Gradio: https://huggingface.co/spaces/mteb/leaderboard , some tabs like Bitext Mining have lots of columns and I'm interested to compare the models performance on one of the columns. I need to scroll back every time to see what column the scores correspond to. Maybe there's a better existing solution though?

@pngwn pngwn added enhancement New feature or request svelte Frontend-related issue (JS) labels Oct 7, 2022
@pngwn
Copy link
Member

pngwn commented Oct 7, 2022

Is the column you want to compare known at app creation time or would you like to toggle it on and off in the UI?

@Muennighoff
Copy link
Author

Is the column you want to compare known at app creation time or would you like to toggle it on and off in the UI?

In my case, it is known at creation time 👍

@pngwn pngwn mentioned this issue Feb 22, 2023
22 tasks
@abidlabs abidlabs added this to the Component Cleanup milestone Jul 9, 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 removed this from the Component Cleanup milestone Nov 2, 2023
@so2liu
Copy link

so2liu commented Nov 9, 2023

any update?

@lewtun
Copy link

lewtun commented Dec 20, 2023

As someone who also creates / uses Gradio leaderboards a lot, I would also benefit a lot from being able to freeze the first column which typically contains the model name. Being able to freeze the header row would also be great for large tables :)

@pngwn pngwn self-assigned this Dec 20, 2023
@vwxyzjn
Copy link

vwxyzjn commented May 10, 2024

Maybe being able to freeze the first column would be helpful too! For example, scrolling to the right to see the metrics in reward bench makes it difficult what models they belong to in the left :)

Screen.Recording.2024-05-10.at.10.47.32.AM.mov

@versae
Copy link

versae commented Jun 4, 2024

Definitively very useful for leaderboards 🙋

@nabsabraham
Copy link

any progress on this issue? definitely useful for me as well!

@pngwn
Copy link
Member

pngwn commented Jul 25, 2024

It will happen soon but not imminently.

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 svelte Frontend-related issue (JS)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants