-
Notifications
You must be signed in to change notification settings - Fork 373
Closed
Description
On a regular 80-column-wide terminal, printing a dataframe with a wide column yields this:
julia> DataFrame(name=["Tom", "Eric", "Adolph Blaine Charles David Earl Frederick Gerald Hubert Irvin John Kenneth Lloyd Martin Nero Oliver Paul Quincy Randolph Sherman Thomas Uncas Victor William Xerxes Yancy Zeus"], age=[10, 20, 30])
3×2 DataFrames.DataFrame
│ Row │ ├─────┼
│ 1 │ │ 2 │ │ 3 │
│ Row │ name │
├─────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ 1 │ "Tom" │
│ 2 │ "Eric" │
│ 3 │ "Adolph Blaine Charles David Earl Frederick Gerald Hubert Irvin John Kenneth Lloyd Martin Nero Oliver Paul Quincy Randolph Sherman Thomas Uncas Victor William Xerxes Yancy Zeus" │
│ Row │ age │
├─────┼─────┤
│ 1 │ 10 │
│ 2 │ 20 │
│ 3 │ 30 │For comparison, pandas:
name age
0 Tom 10
1 Eric 20
2 Adolph Blaine Charles David Earl Frederick Ger... 30Issues:
- The first table looks irrelevant?
- The second table doesn't respect the 80 characters limit.
- I've seen some of the discussion behind splitting big dataframes into several tables, but perhaps the current
showbehavior would be more appropriate forshowall?