history() | Teradata Package for Python - history - Teradata VantageCloud Lake

Lake - Analyze Your Data with ClearScape Analytics™

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2026-02-20
dita:mapPath
tcl1683670667798.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
tcl1683670667798

Use the history() function to get the snapshot history related to a DataLake table.

Parameters

None.

Example 1: Get the partition information for datalake table

list_snapshots usage eaxmple
>>> from teradataml.dataframe.dataframe import in_schema
>>> in_schema_tbl = in_schema(schema_name="datalake_db",
... table_name="datalake_table",
... datalake_name="datalake")
>>> datalake_df = DataFrame(in_schema_tbl)
>>> datalake_df.history
                      id              timestamp
0    8068130797628952520    2025-05-02 11:45:26