Skip to content

Group Longtail Values

Description

This Activity groups the values other than those in the allow list in the specified column with the replacement value.

Input

Data only

Output

Transformed Data


Configuration Fields

  1. Column Name Specifies the column list for grouping.
  2. Allow List List of allowed values.
  3. Replacement Value Value to replace those not in the allow list.

Sample Input

product_idproduct_namebrand_names
P001SmartphoneApple, Samsung, Google
P002LaptopDell, HP, Lenovo
P003HeadphonesBose, Sony, Sennheiser
P004TVLG, Samsung, Sony
P005SmartwatchFitbit, Garmin, Apple

Sample Configuration

alt text


Sample Output

product_idproduct_namebrand_names
P001SmartphoneApple, Samsung, Google
P002OthersDell, HP, Lenovo
P003HeadphonesBose, Sony, Sennheiser
P004OthersLG, Samsung, Sony
P005OthersFitbit, Garmin, Apple