Use the features property to get the list of feature objects available in the feature catalog for the corresponding data domain.
Example setup
>>> from teradataml import FeatureCatalog, load_example_data, DataFrame
>>> load_example_data('dataframe', ['sales'])
>>> df = DataFrame("sales")
Run FeatureProcess to ingest features.
>>> from teradataml import FeatureProcess >>> fp = FeatureProcess(repo='repo', ... data_domain='sales', ... object=df, ... entity='accounts', ... features=['Jan', 'Feb', 'Mar', 'Apr']) >>> fp.run()
Process '893d3326-36ab-11f0-2370-f020ff57c63d' started. Process '893d3326-36ab-11f0-2370-f020ff57c63d' completed.
Example: Get the features from the feature catalog
Create a FeatureCatalog object.
>>> fc = FeatureCatalog('repo', data_domain='sales')
>>> fc.features
[Feature(name=Jan), Feature(name=Feb), Feature(name=Mar), Feature(name=Apr)]