skrub icon indicating copy to clipboard operation
skrub copied to clipboard

ColumnReport?

Open jeromedockes opened this issue 10 months ago • 2 comments

Problem Description

Sometimes we may want to display a single column rather than a full table -- for example, it might be an intermediate result in a pipeline as in the proposal #1233 .

in that case the full interface of the TableReport wastes space and looks a bit silly (we don't need the different tabs, the column filter, there are no column associations). But the scrollable display, ability to show the full content of a cell in a scrollable element, and summary statistics such as % of missing values and even the histogram are still relevant.

Feature Description

So it could be useful to have a ColumnReport which is basically like a TableReport but in which everything but the inner content of the first tab panel is hidden

Alternative Solutions

No response

Additional Context

No response

jeromedockes avatar Feb 24 '25 14:02 jeromedockes

Would that work only on columns, or also on dataframes with a single column?

Vincent-Maladiere avatar Feb 25 '25 09:02 Vincent-Maladiere

not sure. I would say making the decision based on the type of object is a bit more natural, but it's true that all those informations also don't bring any value for a dataframe with a single column

jeromedockes avatar Feb 25 '25 09:02 jeromedockes