Teradata Package for Python Function Reference | 20.00 - get_current_filter - 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 - 20.00

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Teradata Package for Python
Release Number
20.00.00.11
Published
August 2026
ft:locale
en-US
ft:lastEdition
2026-08-13
dita:id
TeradataPython_FxRef_Enterprise_2000
Product Category
Teradata Vantage
teradataml.store.feature_store.models.FilterManager.get_current_filter = get_current_filter(self)
DESCRIPTION:
    Gets the currently active filter from the FilterManager's artifacts.
 
PARAMETERS:
    None
 
RETURNS:
    teradataml DataFrame.
 
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 a FilterManager and load filter definitions.
    >>> fm = FilterManager(repo='vfs_v1', name='stats_filter_manager')
    Filter Manager 'stats_filter_manager' does not exist. Run FilterManager.load_filter() to create it.
    >>> fm.load_filter(df=df.groupby('stats').count()[['stats']])
    True
 
    # Get the currently active filter.
    >>> fm.get_current_filter()
          stats
    0  Advanced