Get FeatureStore Components | Teradata Package for Python - Get the FeatureStore Components - Teradata Package for Python

Teradata® Package for Python User Guide

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Teradata Package for Python
Release Number
20.00
Published
December 2024
ft:locale
en-US
ft:lastEdition
2025-01-23
dita:mapPath
nvi1706202040305.ditamap
dita:ditavalPath
plt1683835213376.ditaval
dita:id
rkb1531260709148
Product Category
Teradata Vantage

get_feature

get_feature() retrieves the object of Feature from FeatureStore.

Example gets the feature 'sales_mar' from repo 'vfs_v1'.

>>> feature = fs.get_feature('sales_mar')
>>> feature
Feature(name=sales_mar)
>>>

get_entity

get_entity() retrieves the object of Entity from FeatureStore.

Example get the Entity 'admissions_id' from repo 'vfs_v1'.

>>> entity = fs.get_entity('admissions_id')
>>> entity
Entity(name=admissions_id)
>>>

get_data_souorce

get_data_source() retrieves the object of DataSource from FeatureStore.

Example gets the DataSource 'admissions' from repo 'vfs_v1'.

>>> ds = fs.get_data_source('admissions')
>>> ds
DataSource(name=admissions)
>>>

get_feature_group

get_feature_group() retrieves the object of FeatureGroup from FeatureStore.

Example gets FeatureGroup with group name 'sales' from repo 'vfs_v1'.

>>> fg = fs.get_feature_group('sales')
>>> fg
FeatureGroup(sales, features=[Feature(name=Jan), Feature(name=Feb), Feature(name=Apr), Feature(name=Mar)], entity=Entity(name=sales), data_source=DataSource(name=sales))
>>>