Skip to content

featurebyte.TableColumn.cleaning_operations

cleaning_operations: List[Annotated[Union[MissingValueImputation, DisguisedValueImputation, UnexpectedValueImputation, ValueBeyondEndpointImputation, StringValueImputation]]]

Description

Cleaning operations applied to the column of the table.

Returns

  • List[Annotated[Union[MissingValueImputation, DisguisedValueImputation, UnexpectedValueImputation, ValueBeyondEndpointImputation, StringValueImputation]]]
    List of cleaning operations applied to the column of the table.

Examples

Show the list of cleaning operations of the event table amount column after updating the critical data info.

>>> event_table = catalog.get_table("GROCERYINVOICE")
>>> event_table["Amount"].update_critical_data_info(
...    cleaning_operations=[
...        fb.MissingValueImputation(imputed_value=0),
...    ]
... )

>>> event_table["Amount"].cleaning_operations
[MissingValueImputation(imputed_value=0.0)]
Empty list of column cleaning operations of the event table amount column.

>>> event_table["Amount"].update_critical_data_info(cleaning_operations=[])
>>> event_table["Amount"].cleaning_operations
[]