- For single-valued columns: Each row in the output column will be
trueif the corresponding value in the input column is missing, andfalseotherwise. - For multivalued columns: Each row in the output column will be
trueif the corresponding sub-list in the input column is empty, andfalseotherwise.
Usage
The following examples show how the step can be used in a recipe.Examples
Examples
- Example 1
- Example 2
- Signature
Check for missing values in a numeric column.
Inputs & Outputs
The following are the inputs expected by the step and the outputs it produces. These are generally columns (ds.first_name), datasets (ds or ds[["first_name", "last_name"]]) or models (referenced
by name e.g. "churn-clf").
Outputs
Outputs
Configuration
The following parameters can be used to configure the behaviour of the step by including them in a json object as the last “input” to the step, i.e.step(..., {"param": "value", ...}) -> (output).
Parameters
Parameters
Output type.
The data type of the output column.
- ‘boolean’: Output is true/false indicating missing or not.
- ‘number’: Output is 0/1 indicating missing or not.
- ‘category’: Output is specified by params[“labels”][“true”] and params[“labels”][“false”].
booleannumbercategory