Teradata Package for Python Function Reference | 20.00 - as_of - 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 - 20.00

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Teradata Package for Python
Release Number
20.00.00.11
Publication Date
August 2026
Content Type
Programming Reference
Publication ID
B700-4008-200K
ft:locale
en-US
ft:lastEdition
2026-08-13
ft:sourceId
FTML
dita:id
TeradataPython_FxRef_Enterprise_2000
Product Category
Teradata Vantage
teradataml.store.feature_store.models.FeatureProcess.as_of
DESCRIPTION:
    Returns the time for which features are ingested.
    Note:
        * Property is updated only after every run of the feature process.
 
PARAMETERS:
    None
 
RETURNS:
    str or datetime.datetime
 
RAISES:
    None
 
EXAMPLES:
    >>> from teradataml import DataFrame, load_example_data, FeatureProcess
    >>> load_example_data('dataframe', ['sales'])
    >>> df = DataFrame("sales")
    # Create a FeatureProcess 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
    # 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')