I have a data frame and would like to only retain n number of categories in selected columns. For example, in column Cat_1 I would like to only retain the top 3 most populou