How to change the type of a variable for a loaded table?

Maybe

categorical!(df::DataFrame, cols::Type=Union{AbstractString, Missing};  compress::Bool=false)