Replaces levels with a maximal occurence of 1 with other
merge_rare_levels(column)
column with rare occurences replaced by other