Open jariji opened 4 months ago
Hi @jariji !
Not easily! KeyedArray
returns the following Tables:
julia> Tables.columns(a)
(dim_1 = ['a', 'b', 'c', 'a', 'b', 'c', 'a', 'b', 'c'], dim_2 = ['A', 'A', 'A', 'B', 'B', 'B', 'C', 'C', 'C'], value = [('a', 'A'), ('b', 'A'), ('c', 'A'), ('a', 'B'), ('b', 'B'), ('c', 'B'), ('a', 'C'), ('b', 'C'), ('c', 'C')])
Hence, it is saying to PrettyTables that it is a table with three columns. I am not sure how we can support this kind of construction.
I think the way to deal with this would be to use a package extension and specialise for KeyedArray
Hi @frankier !
I do not agree. Otherwise we will have a HUGE number of extensions to handle each and every package. We really must support only Tables.jl interface except from very few native types (like Array
).
I am seeking a table that looks more like the REPL display of the KeyedArray, rather than stacking it into a DataFrame-style format. Is that possible?