Teradata Package for Python Function Reference on VantageCloud Lake - list_features - 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.08
Published
November 2025
ft:locale
en-US
ft:lastEdition
2025-12-05
dita:id
TeradataPython_FxRef_Lake_2000
Product Category
Teradata Vantage
teradataml.store.feature_store.models.FeatureCatalog.list_features = list_features(self, archived=False)
DESCRIPTION:
    Lists the details of available features in the repo for the
    corresponding data domain.
 
PARAMETERS:
    archived:
        Optional Argument.
        Specifies whether to retrieve archived features or not from catalog.
        When set to True, returns only archived features, Otherwise
        returns active features from catalog.
        Types: bool.
 
RETURNS:
    DataFrame
 
RAISES:
    TeradataMlException
 
EXAMPLES:
    >>> load_example_data('dataframe', ['sales'])
    >>> df = DataFrame("sales")
 
    # Create FeatureStore repo 'vfs_v1'.
    >>> from teradataml import FeatureStore
    >>> fs = FeatureStore(repo='vfs_v1', data_domain='sales')
    Repo vfs_test does not exist. Run FeatureStore.setup() to create the repo and setup FeatureStore.
    >>> fs.setup()
    True
 
    # Create an instance of FeatureCatalog.
    >>> fc = FeatureCatalog(repo='vfs_v1', data_domain='sales')
 
    # Upload features from DataFrame.                                                 
    >>> fp = fc.upload_features(object=df,
    ...                         entity=["accounts"],
    ...                         features=["Feb", "Jan", "Mar", "Apr"])
    Process '01c70f05-4067-11f0-9e8a-fb57338c2e68' started.
    Process '01c70f05-4067-11f0-9e8a-fb57338c2e68' completed.
 
    # Example: List the features.
    >>> fc.list_features()
                 feature_id name data_type feature_type                     valid_start                       valid_end
    entity_name                                                                                                        
    accounts              4  Feb     FLOAT   CONTINUOUS  2025-06-12 05:28:42.916821+00:  9999-12-31 23:59:59.999999+00:
    accounts              6  Apr    BIGINT   CONTINUOUS  2025-06-12 05:28:42.916821+00:  9999-12-31 23:59:59.999999+00:
    accounts              5  Mar    BIGINT   CONTINUOUS  2025-06-12 05:28:42.916821+00:  9999-12-31 23:59:59.999999+00:
    accounts         100002  Jan    BIGINT   CONTINUOUS  2025-06-12 05:28:42.916821+00:  9999-12-31 23:59:59.999999+00: