Open Julian-J-S opened 10 months ago
I prefer the vertical option you proposed above instead of a horizontal one.
I have no strong feeling abount vertical/horizontal but would actually prefer horizontal like @mcrumiller suggested here: https://github.com/pola-rs/polars/issues/10597#issuecomment-1687073987 Reasons:
set_tbl_hide_dataframe_shape
) there is no way to know (problematic for from_repr
?)to_frame
I think space efficiency is contingent upon your screen ratio. I think what you have above makes more sense, but another option might be to simply put the values in a table.
# from this
shape: (3,)
Series: 'col' [i64]
[
1
2
3
]
# to this?
shape: (3,)
Series: 'col' [i64]
╞═════╡
│ 1 │
│ 2 │
│ 3 │
└─────┘
Problem description
Problem
Example
Implementation
Display
/fmt
function and using that for DataFrame and Series. It can receive a "shape" string to still make Series and DataFrame distinction for 1 col DataFrames