as_of | FeatureProcess Property | Teradata Package for Python - as_of - 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 as_of property to return the timestamp when features were ingested.

Example setup

>>> from teradataml import DataFrame, load_example_data, FeatureProcess
>>> load_example_data('dataframe', ['sales'])
>>> df = DataFrame("sales")

Create a feature process with as_of period.

>>> fp = FeatureProcess(repo="vfs_test",
...                     data_domain='sales',
...                     object=df,
...                     entity="accounts",
...                     features=["Jan", "Feb", "Mar", "Apr"]
...                     )
>>> fp.run(as_of='2024-01-01 00:00:00+00:00')
Process '7917d31f-6c7f-11f0-a99f-f020ffe7fe09' started.
Process '7917d31f-6c7f-11f0-a99f-f020ffe7fe09' completed.
True

Example: Get the as_of timestamp

>>> fp.as_of
('2024-01-01 00:00:00+00:00', '9999-12-31 23:59:59.999999+00:00')