gradio icon indicating copy to clipboard operation
gradio copied to clipboard

Freeze DataFrame columns

Open Muennighoff opened this issue 2 years ago • 5 comments

  • [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?

Muennighoff avatar Oct 07 '22 09:10 Muennighoff

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?

pngwn avatar Oct 07 '22 09:10 pngwn

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 👍

Muennighoff avatar Oct 07 '22 10:10 Muennighoff

any update?

so2liu avatar Nov 09 '23 09:11 so2liu

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 :)

lewtun avatar Dec 20 '23 11:12 lewtun

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

vwxyzjn avatar May 10 '24 14:05 vwxyzjn

Definitively very useful for leaderboards :raising_hand:

versae avatar Jun 04 '24 15:06 versae

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

nabsabraham avatar Jul 25 '24 14:07 nabsabraham

It will happen soon but not imminently.

pngwn avatar Jul 25 '24 16:07 pngwn