Skip to content

featurebyte.Table.column_cleaning_operations

column_cleaning_operations: List[ColumnCleaningOperation]

Description

List of column cleaning operations associated with this table. Column cleaning operation is a list of cleaning operations to be applied to a column of this table.

Returns

  • List[ColumnCleaningOperation]
    List of column cleaning operations

Examples

Show the list of column cleaning operations of an event table.

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

>>> event_table.column_cleaning_operations
[ColumnCleaningOperation(column_name='Amount', cleaning_operations=[MissingValueImputation(imputed_value=0, type=missing), ValueBeyondEndpointImputation(imputed_value=0, type=less_than, end_point=0)])]
Empty list of column cleaning operations after resetting the cleaning operations.

>>> event_table = catalog.get_table("GROCERYINVOICE")
>>> event_table["Amount"].update_critical_data_info(
...   cleaning_operations=[]
... )
>>> event_table.column_cleaning_operations
[]

See Also