Skip to content

Fill columns

Description

The Fill Columns activity fills missing or empty cells in one or more selected columns using configurable rules or values. It provides two modes:

  • Fill Empty Cells Only – Fills only null or empty cells using statistical or logical methods such as mean, mode, median, previous, or next value.
  • Fill Entire Column – Fills all cells in a column (including non-empty ones) with a specified constant value.

Use case:
Useful when preparing datasets for machine learning, reporting, or transformation steps where consistent and complete data is required.


Input

TypeDescription
DataTabular data with missing or incomplete values

Output

TypeDescription
Transformed DataData with columns updated based on fill rules

Configuration Fields

Field NameRequiredDescription
Fill empty cellsNoEnables filling only empty (null) values. If disabled, all cells in the specified columns are filled.
Columns MapYes*Mapping of column names to fill method (Mean, Mode, Median, Previous, Next).
(Visible only if Fill Empty Cells is enabled)
Column MapYes*Mapping of column names to constant values.
(Visible only if Fill Empty Cells is disabled)
Include originalNoIf enabled, the original columns are preserved and new columns with filled data are added.

Sample Input

IDAgeSalaryExperience
125500005 years
252000
3307 years
45500010 years

Sample Configuration 1: Fill Empty Cells with Methods

FieldValue
Fill empty cellstrue
Columns MapAge → Mean, Salary → Mean, Experience → Previous
Include originalfalse

Sample Output 1

IDAgeSalaryExperience
125500005 years
228520005 years
330523337 years
4285500010 years

Sample Configuration 2: Fill Entire Columns with Constant Values

FieldValue
Fill empty cellsfalse
Column MapAge → 25, Experience → 5 years
Include originalfalse

Sample Output 2

IDAgeSalaryExperience
125500005 years
225520005 years
3255 years
425550005 years

Use Include Original when you want to compare filled vs original data side-by-side without overwriting the input columns.