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

Would a `PrettyTables` for printing PR be welcomed?

Open Moelf opened this issue 4 years ago • 2 comments

image

image

Moelf avatar Jul 10 '21 23:07 Moelf

the main issue is type info such as Float32[ blah is too much. And that it's hard to customize just for my own TypaedTable.Table. Currently I have to do:

const _LazyTreeType = TypedTables.Table{<:NamedTuple, 1, NamedTuple{S, N}} where {S, N <: Tuple{Vararg{LazyBranch}}}

but it won't work if user materialized a table

Moelf avatar Jul 10 '21 23:07 Moelf

Is the suggestion here to switch the printing logic to use PrettyTables.jl? I guess it's possible, but we need to be careful about dictionary-based tables too. Or we can steal the type-header logic.

andyferris avatar Jan 28 '22 05:01 andyferris