fix(skore): Don't use the Summary widget in an IPython terminal#2080
fix(skore): Don't use the Summary widget in an IPython terminal#2080FrancoisPgm wants to merge 1 commit intoprobabl-ai:mainfrom
Conversation
There was a problem hiding this comment.
My 2 cts: i don't like the fact that it fixes only the IPython context. For instance, it will not work if i amm in the python console.
I don't know if its feasible, but i would like to solve this in a general way: if the widget is displayable, display it.
Otherwise, fallback on Pandas representation. Wdyt ?
|
For the regular python console, I do get the dataframe's repr and I believe this is because whats is used is |
Fixes #2070
Check if we're in an IPython terminal and if it is the case, use DataFrame's
_repr_html_instead of Summary's widget.