Affected categories are replaced with the missing value (NaN).

n_most_common
[integer, null]

The number N indicating how many of the most common values to filter (in descending order).

Values must be in the following range:

0 ≤ n_most_common < inf
freq_min
[integer, null]

Values with a lower frequency (count) than this will be removed.

Values must be in the following range:

1 ≤ freq_min < inf
freq_max
[integer, null]

Values with a higher frequency (count) than this will be removed.

Values must be in the following range:

1 ≤ freq_max < inf