Closed juliohm closed 3 years ago
Or even Cat(value)
would be nice (and play well with what we print as eltype
in DataFrames.jl).
Yeah any improvement would be great :) Maybe Colors.jl is a useful dependency here?
Duplicate of https://github.com/fonsp/Pluto.jl/issues/807. https://github.com/JuliaData/CategoricalArrays.jl/pull/371 should improve the situation a lot (though the quotes are still printed for strings).
It would be nice to show categories as colored squares with labels so that ML users can see different categories visually in tabular displays such as the one shipped with Pluto:
It suffices to define a prettier IO method for CategoricalValue. Pluto will display it properly in the table.