Skip to content

Commit

Permalink
fix case when CategoricalArrays is not in scope
Browse files Browse the repository at this point in the history
  • Loading branch information
bkamins committed Oct 13, 2020
1 parent 8b40007 commit 25915a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/abstractdataframe/show.jl
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function compacttype(T::Type, maxwidth::Int=8, initial::Bool=true)

# This is only type display shortening so we
# are OK with any T whose name starts with CategoricalValue here
if startswith(sT, "CategoricalValue")
if startswith(sT, "CategoricalValue") || startswith(sT, "CategoricalArray.CategoricalValue")
sT = string(nameof(T))
if textwidth(sT) maxwidth
return sT * "" * suffix
Expand Down

0 comments on commit 25915a6

Please sign in to comment.