Teradata Package for Python Function Reference on VantageCloud Lake - entities - 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.DataDomain.entities
DESCRIPTION:
    Returns the list of Entitity objects in feature catalog which are associated with the data domain.
 
PARAMETERS:
    None
 
RETURNS:
    list of Entity.
 
RAISES:
    None
 
EXAMPLES:
    # Load data to be used.
    >>> from teradataml import load_example_data, DataFrame
    >>> load_example_data('dataframe', ['sales', 'admissions_train'])
    >>> admission_df = DataFrame("admissions_train")
    >>> df = DataFrame('sales')
 
    # Define repo and data domain.
    >>> repo = 'vfs_test'
    >>> data_domain = 'sales'
 
    # Create a FeatureStore.
    >>> from teradataml import FeatureStore
    >>> fs = FeatureStore(repo=repo, data_domain=data_domain)
    Repo vfs_test does not exist. Run FeatureStore.setup() to create the repo and setup FeatureStore.
    >>> fs.setup()
    True
 
    # Run FeatureProcess to ingest features.
    >>> from teradataml import FeatureProcess
    >>> fp = FeatureProcess(repo=repo,
    ...                     data_domain=data_domain,
    ...                     object=df,
    ...                     entity='accounts',
    ...                     features=['Jan', 'Feb', 'Mar', 'Apr'])
    >>> fp.run()
    Process '4098c3ea-6c8d-11f0-837a-24eb16d15109' started.
    Process '4098c3ea-6c8d-11f0-837a-24eb16d15109' completed.
 
    # Run another FeatureProcess to ingest features into different dataframe.
    >>> fp2 = FeatureProcess(repo=repo,
    ...                      data_domain=data_domain,
    ...                      object=admission_df,
    ...                      entity='id',
    ...                      features=['masters', 'gpa', 'stats', 'admitted'])
    >>> fp2.run()
    Process '5129c4eb-7d9e-21f1-947b-35fb27e26210' started.
    Process '5129c4eb-7d9e-21f1-947b-35fb27e26210' completed.
 
    # Example 1: Get the entities in data domain.
    # Create DataDomain object.
    >>> from teradataml import DataDomain
    >>> dd = DataDomain(repo=repo,
    ...                 data_domain=data_domain)
 
    # List entities.
    >>> dd.entities
    [Entity(name=accounts), Entity(name=id)]