Teradata Package for Python Function Reference on VantageCloud Lake - get_data - 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 on VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Package for Python
Release Number
20.00.00.11
Publication Date
August 2026
Content Type
Programming Reference
Publication ID
B700-4500-200K
ft:locale
en-US
ft:lastEdition
2026-08-13
ft:sourceId
FTML
dita:id
TeradataPython_FxRef_Lake_2000
Product Category
Teradata Vantage
teradataml.automl.auto_dataprep.AutoDataPrep.get_data = get_data(self)
DESCRIPTION:
    Function to retrieve the data after Auto Data Preparation.
 
RETURNS:
    Dictionary of DataFrames containing the data after Auto Data Preparation.
 
    Notes:
        * If Data Preparation is skipped during fit, the returned dictionary 
          contains transformed data after feature engineering phase with key 
          "feature_engineering_output".
        * If both feature engineering and data preparation are skipped during fit,
          the returned dictionary contains raw input data with key 
          "raw_data".
 
RAISES:
    TeradataMlException
 
EXAMPLES:
    # Notes:
    #     1. Get the connection to Vantage to execute the function.
    #     2. One must import the required functions mentioned in
    #        the example from teradataml.
    #     3. Function raises error if not supported on the Vantage
    #        user is connected to.
 
    # Load the example data.
    >>> load_example_data("teradataml", "titanic")
 
    # Create teradataml DataFrames.
    >>> titanic = DataFrame.from_table("titanic")
    
    # Example 1: Run AutoDataPrep for classification problem.
    # Scenario: Titanic dataset is used to predict the survival of passengers.
   
    # Create an instance of AutoDataPrep.
    >>> aprep_obj = AutoDataPrep(task_type="Classification", verbose=2)
 
    # Fit the data.
    >>> aprep_obj.fit(titanic, titanic.survived)
    
    # Retrieve the data after Auto Data Preparation.
    >>> datas = aprep_obj.get_data()