Teradata Package for Python Function Reference on VantageCloud Lake - 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.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.models.Dataset.features
DESCRIPTION:
    Returns Feature objects associated with this Dataset.
 
PARAMETERS:
    None
 
RETURNS:
    list of Feature objects.
 
RAISES:
    None
 
EXAMPLES:
    >>> from teradataml import load_example_data, FeatureStore
    >>> load_example_data('dataframe', 'sales')
    >>> df = DataFrame("sales")
 
    # Create a FeatureStore.
    >>> fs = FeatureStore(repo='vfs_v1', data_domain='sales')
    >>> fs.setup()
    Repo vfs_v1 does not exist. Run FeatureStore.setup() to create the repo and setup FeatureStore.
    True
 
    # Create a FeatureProcess object and ingest features on existing repo 'vfs_v1'.
    >>> from teradataml import FeatureProcess
    >>> fp = FeatureProcess(repo="vfs_v1",
    ...                     data_domain='sales',
    ...                     object=df,
    ...                     entity="accounts",
    ...                     features=["Jan", "Feb", "Mar", "Apr"])
    >>> fp.run()
    Process 'eadf3787-4ad4-11f0-8afd-f020ffe7fe09' started.
    Process 'eadf3787-4ad4-11f0-8afd-f020ffe7fe09' completed.
 
    # Build dataset.
    >>> dc = DatasetCatalog(repo='vfs_v1', data_domain='sales')
    >>> dataset = dc.build_dataset(entity='accounts',
    ...                            selected_features = {
    ...                             'Jan': 'eadf3787-4ad4-11f0-8afd-f020ffe7fe09',
    ...                             'Feb': 'eadf3787-4ad4-11f0-8afd-f020ffe7fe09'},
    ...                            view_name='ds_jan_feb',
    ...                            description='Dataset with Jan and Feb features')
 
    # List available datasets.
    >>> dc.list_datasets()
                                         data_domain        name entity_name                        description                      valid_start                       valid_end
    id                                                                                                                                                                         
    abbde025-83b3-4cd8-bb72-57c40ba68f49       sales  ds_jan_feb    accounts  Dataset with Jan and Feb features   2025-06-12 12:06:15.572420+00:  9999-12-31 23:59:59.999999+00:
 
    # Use one of the dataset IDs to create Dataset object.
    >>> ds = Dataset(repo='vfs_v1',
    ...              id='abbde025-83b3-4cd8-bb72-57c40ba68f49',
    ...              data_domain='sales')
 
    # Example: Retrieve features.
    >>> ds.features
    [Feature(name=Jan), Feature(name=Feb)]