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

Support of pandas.Series #378

Closed thomass-dev closed 1 week ago

sylvaincom commented 1 week ago

I often use the plot method of pandas, very convenient for one line code; otherwise using matplotlib or plotly to (re)plot a series is fine

thomass-dev commented 1 week ago

Could we store a plotted representation of the series ? The markdow layout will be bad especially for large series. Pandas offers this with a default matplotlib backend (which is supported by the frontend).

I think its hard to find a generic plot which can represent all sort of series, while remaining easy to understand. Maybe we can just display a sample of the series when its too long ? As done by pandas in python (0, 1, 2, [...], 3, 4).

@rouk1 is there the same problem on list-primitive type? @MarieS-WiMLDS @sylvaincom what do you think?

Keep in mind that, as for python list, the user can put whatever he wants in his series (str, number, str & number etc).

MarieS-WiMLDS commented 1 week ago

Maybe we can just display a sample of the series when its too long ? As done by pandas in python

It seems a good idea to me!

rouk1 commented 1 week ago

I think its hard to find a generic plot which can represent all sort of series, while remaining easy to understand. Maybe we can just display a sample of the series when its too long ? As done by pandas in python (0, 1, 2, [...], 3, 4).

@rouk1 is there the same problem on list-primitive type? @MarieS-WiMLDS @sylvaincom what do you think?

Keep in mind that, as for python list, the user can put whatever he wants in his series (str, number, str & number etc).

Ok then we need to update how the frontend displays native object. I've create an issue for that.