Tables.jl
Tables.jl copied to clipboard
Make AbstractRows print long-ways
- I got rid of printing the type parameters
- I print each element in a row vertically
- 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
The key decision is if we omit printing data types. I think it is OK, but let us wait for comments.