featurebyte.DisguisedValueImputation¶
class DisguisedValueImputation(
*,
imputed_value: Union[bool, int, float, str, NoneType],
type: Literal["disguised"]="disguised",
disguised_values: Sequence[Union[bool, int, float, str, NoneType]]
)Description¶
DisguisedValueImputation class is used to declare the operation to impute the disguised value of a table column. If the imputed_value parameter is None, the values to impute are replaced by missing values and the corresponding rows are ignored during aggregation operations.
Parameters¶
- imputed_value: Union[bool, int, float, str, NoneType]
The value that will be used to replace any element that matches one of the values in the disguised_values list. - type: Literal["disguised"]
default: "disguised" - disguised_values: Sequence[Union[bool, int, float, str, NoneType]]
List of values that need to be replaced.