powered by
Convert character to factors as needed
factorizer(dat, safx = 30)
Data frame
Values to levels ratio
Data frame with factors