Tables.jl icon indicating copy to clipboard operation
Tables.jl copied to clipboard

Make AbstractRows print long-ways

Open pdeffebach opened this issue 6 months ago • 1 comments

  1. I got rid of printing the type parameters
  2. I print each element in a row vertically
  3. I do some corrections similar to dataframes about the height and width of the screen.

An example here x-ref in DataFrames.jl

(Tables) julia> using Tables

(Tables) julia> nt = (;(Symbol("x$i") => rand() for i in 1:50)...,);

(Tables) julia> t = Row(nt)
Row: 
x1           0.726270389343219
x2           0.2826873308517256
x3           0.30245552857274705
x4           0.2564103387347969
x5           0.114357002151807
x6           0.7268839730501291
            ⋮
x50          0.43397092645961866
x49          0.40254808328675196
x48          0.934923884837159
x47          0.1640042997187814
x46          0.7799762481712108
x45          0.44932545509234945
x44          0.09937457554982676

pdeffebach avatar Aug 23 '25 21:08 pdeffebach

The key decision is if we omit printing data types. I think it is OK, but let us wait for comments.

bkamins avatar Aug 24 '25 07:08 bkamins