Teradata Package for Python Function Reference on VantageCloud Lake - delete_filter_manager - Teradata Package for Python - Look here for syntax, methods and examples for the functions included in the Teradata Package for Python.

Teradata® Package for Python Function Reference on VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Package for Python
Release Number
20.00.00.11
Publication Date
August 2026
Content Type
Programming Reference
Publication ID
B700-4500-200K
ft:locale
en-US
ft:lastEdition
2026-08-13
ft:sourceId
FTML
dita:id
TeradataPython_FxRef_Lake_2000
Product Category
Teradata Vantage
teradataml.store.feature_store.feature_store.FeatureStore.delete_filter_manager = delete_filter_manager(self, name)
DESCRIPTION:
    Delete a FilterManager and its artifacts from the repository.
 
PARAMETERS:
    name:
        Required Argument.
        Specifies the name of the FilterManager to delete.
        Types: str
 
RETURNS:
    bool: True if the FilterManager was successfully deleted, False if it did not exist.
 
RAISES:
    TeradataMlException
 
EXAMPLES:
    >>> load_example_data('dataframe', 'admissions_train')
    >>> df = DataFrame("admissions_train")
 
    # Create a FeatureStore.
    >>> from teradataml import FeatureStore, FilterManager
    >>> fs = FeatureStore(repo='vfs_v1', data_domain='sales')
    Repo vfs_v1 does not exist. Run FeatureStore.setup() to create the repo and setup FeatureStore.
    >>> fs.setup()
 
    # Create an instance of FilterManager with name 'stats_filter_manager' 
    # for managing filters related to statistics features.
    >>> fm = fs.get_filter_manager(name='stats_filter_manager')
    >>> fm
    Filter Manager 'stats_filter_manager' does not exist. Run FilterManager.load_filter() to create it.
    FilterManager(repo=vfs_v1, name=stats_filter_manager, filters=None)
 
    # Load filter definitions into the filter manager using a DataFrame.
    >>> fm.load_filter(df=df.groupby('stats').count()[['stats']])
    True
    
    # List all the filter managers in the repository.
    >>> fs.list_filter_managers()
                                         table_name  num_filters filter_id_column filter_columns                created_time               modified_time
    name                                                                                                                                                
    region_filter                region_filter_tdfm            5       filter_ids         region  2026-05-11 12:44:18.902613  2026-05-11 12:44:18.902613
    stats_filter_manager  stats_filter_manager_tdfm            3        filter_id          stats  2026-05-11 13:15:09.520207                        None
    
    # Delete the filter manager with name 'stats_filter_manager'.
    >>> fs.delete_filter_manager(name='stats_filter_manager')
    True
    
    # List all the filter managers in the repository after deletion.
    >>> fs.list_filter_managers()
                           table_name  num_filters filter_id_column filter_columns                created_time               modified_time
    name                                                                                                                                  
    region_filter  region_filter_tdfm            3       filter_ids         region  2026-05-11 12:44:18.902613  2026-05-11 12:44:18.902613