ronisbr / PrettyTables.jl

Print data in formatted tables.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`header` is ignored for `Dict`

laborg opened this issue · comments

Hi,

I assumed that the header should show up when printing a Dict. Is this to be expected?

julia> pretty_table(Dict(:a=>1,:b=>2),header=(["ColumnK","ColumV"]))
┌────────┬────────┐
│   Keys │ Values │
│ Symbol │  Int64 │
├────────┼────────┤
│      a │      1 │
│      b │      2 │
└────────┴────────┘

PrettyTables v2.2.6

Oops :) Thanks for the report! Should be fixed by now (when a new version is tagged).

wow, that was quick. thanks!