Problem Description
At the moment, the following code snippet:
import polars as pl
import skrub
skrub.TableReport(skrub.var("df", pl.DataFrame({"a": range(3)})))
raises NotImplementedError while the usual:
skrub.TableReport(pl.DataFrame({"a": range(3)}))
works as expected which can be confusing.
Feature Description
I agree that any skrub expression wrapping a dataframe naturally embeds the TableReport view as part of their HTML representation for Jupyter notebook when they end up in the output of a notebook cell.
However, I suspect that some users might want to use TableReport programmatically outside of any notebook and the above NotImplementedError exception can be confusing.
Alternative Solutions
No response
Additional Context
No response
Problem Description
At the moment, the following code snippet:
raises
NotImplementedErrorwhile the usual:works as expected which can be confusing.
Feature Description
I agree that any skrub expression wrapping a dataframe naturally embeds the
TableReportview as part of their HTML representation for Jupyter notebook when they end up in the output of a notebook cell.However, I suspect that some users might want to use
TableReportprogrammatically outside of any notebook and the aboveNotImplementedErrorexception can be confusing.Alternative Solutions
No response
Additional Context
No response