drop() | FilterManager Method | Teradata Package for Python - drop() - Teradata Package for Python

Teradata® Package for Python User Guide

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Teradata Package for Python
Release Number
20.00
Published
March 2025
ft:locale
en-US
ft:lastEdition
2026-08-13
dita:mapPath
nvi1706202040305.ditamap
dita:ditavalPath
plt1683835213376.ditaval
dita:id
rkb1531260709148
Product Category
Teradata Vantage

Use the drop() method to drop the FilterManager and its associated artifacts from the repository.

There are no parameters for this method.

Example: Drop the FilterManager and its Artifacts

>>> from teradataml import load_example_data, DataFrame, FeatureStore, FilterManager
>>> load_example_data('dataframe', 'admissions_train')
>>> df = DataFrame("admissions_train")

Create a FeatureStore.

>>> 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

Drop the FilterManager and its artifacts.

>>> fm.drop()
True