Version: v2.4 
ImputingWithConstant
It imputes missing value with constant value. It fills missing values (None) in selected columns with given constant value for the corresponding column, in the incoming DataFrame.
Type
transform
Fields
| Name | Title | Description |
|---|---|---|
| colNames | Columns | Columns to be processed for missing values |
| constants | Constants | Missing value will be replaced with constant |
Examples
Input
| name | age | height |
|---|---|---|
| Alice | 5 | 80 |
| Alice | 5 | 80 |
| Alice | 80 | |
| James | 5 | 50 |
| James | 60 | |
| James | 80 |
Parameters1 ----------
| Columns | Constants |
|---|---|
| name | |
| age | 20 |
| height |
Output1
| name | age | height |
|---|---|---|
| Alice | 5 | 80 |
| Alice | 5 | 80 |
| Alice | 20 | 80 |
| James | 5 | 50 |
| James | 20 | 60 |
| James | 20 | 80 |