gradio
gradio copied to clipboard
Freeze DataFrame columns
- [x] 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?
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?
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 👍
any update?
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 :)
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 :)
https://github.com/gradio-app/gradio/assets/5555347/474fe856-9ff9-4d2e-aa7f-881a33ced400
Definitively very useful for leaderboards :raising_hand:
any progress on this issue? definitely useful for me as well!
It will happen soon but not imminently.