Skip to content

Fill Columns

Description

This activity fills empty cells in specified columns using various fill methods such as mean, mode, median, previous value, or next value. It can also fill an entire column with a user-specified value.

Input

Data

Output

Transformed Data

Configuration Fields

  • Column Map Mapping of columns to be filled with specified values. (Rendered for fill columns)
  • Columns Map Mapping for filling empty cells using predefined methods (mean, mode, median, previous value, next value). (Rendered for fill empty cells)
  • Fill empty cells If enabled, empty cells are filled based on the selected method; otherwise, entire columns are filled with the specified value.
  • Include original If enabled, original input columns are retained alongside the transformed columns.

Sample Input

IDAgeSalaryExperience
125500005 years
252000
3307 years
45500010 years

Sample Configuration 1

alt text

Sample Output 1

IDAgeSalaryExperience
125500005 years
228520005 years
330523337 years
4285500010 years

Sample Configuration 2

alt text

Sample Output 2

IDAgeSalaryExperience
125500005 years
225520005 years
3255 years
425550005 years