get_feature_catalog() | FeatureStore Get Method | Teradata Package for Python - get_feature_catalog() - 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
2025-12-05
dita:mapPath
nvi1706202040305.ditamap
dita:ditavalPath
plt1683835213376.ditaval
dita:id
rkb1531260709148
Product Category
Teradata Vantage

Use the get_feature_catalog() method to retrieve the FeatureCatalog based on the feature store's repo and data domain.

There are no parameters for this function.

Example setup

>>> from teradataml import FeatureStore

Example: Get the FeatureCatalog

Create FeatureStore for repo 'vfs_v1'.

>>> fs = FeatureStore('vfs_v1')
Repo vfs_v1 does not exist. Run FeatureStore.setup() to create the repo and setup FeatureStore.

Set up FeatureStore for this repository.

>>> fs.setup()
True

Load the sales data to the database.

>>> from teradataml import load_example_data
>>> load_example_data("dataframe", "sales")
>>> df = DataFrame("sales")

Create a feature process.

>>> from teradataml import FeatureProcess
>>> fp = FeatureProcess(repo="vfs_v1",
...                     data_domain='sales',
...                     object=df,
...                     entity="accounts",
...                     features=["Jan", "Feb", "Mar", "Apr"])
>>> fp.run()
Process '5747082b-4acb-11f0-a2d7-f020ffe7fe09' started.
Process '5747082b-4acb-11f0-a2d7-f020ffe7fe09' completed.

Get FeatureCatalog from FeatureStore.

>>> fs.get_feature_catalog()
FeatureCatalog(repo=vfs_v1, data_domain=sales)