pydit.wrangling.coalesce_dataframe_valuesΒΆ

Creates a new column with the top N most frequent values and the rest are replaced by Other

Functions

coalesce_values

Creates a new column with the top N most frequent values and the rest are replaced by Other.