probabl-ai / skore

Skore let's you "Own Your Data Science." It provides a user-friendly interface to track and visualize your modeling results, and perform evaluation of your machine learning models with scikit-learn.
https://probabl.ai
MIT License
11 stars 0 forks source link

Dataframe display: selecting a page size that is larger than the number of rows #375

Closed sylvaincom closed 1 week ago

sylvaincom commented 1 week ago

On the dashboard, when displaying a pandas dataframe, by default the number of displayed rows is 10 and you can modify it using the Page size tab at the bottom left:

Capture d’écran 2024-09-23 à 15 07 42

However, when I select a page size of 50 while the number of rows of my dataframe is 30 (thus the number of rows is inferior to the desired page size), I can no longer select the page size at the bottom left:

Capture d’écran 2024-09-23 à 15 07 58

To reproduce this bug:

my_df = pd.DataFrame(np.random.randn(30, 3))
project.put("my_df", my_df)