Skip to content

featurebyte.MissingValueImputation

class MissingValueImputation(
*,
imputed_value: Union[bool, int, float, str],
type: Literal["missing"]="missing"
)

Description

MissingValueImputation class is used to declare the operation to impute the missing value of a table column.

Parameters

  • imputed_value: Union[bool, int, float, str]
    Value to fill missing values.

  • type: Literal["missing"]
    default: "missing"

Examples

Create an imputation rule to replace missing value with 0

>>> fb.MissingValueImputation(imputed_value=0)