Teradata Package for Python Function Reference on VantageCloud Lake - get_raw_data_with_id - 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.08
- Published
- November 2025
- ft:locale
- en-US
- ft:lastEdition
- 2025-12-05
- dita:id
- TeradataPython_FxRef_Lake_2000
- Product Category
- Teradata Vantage
- teradataml.automl.AutoCluster.get_raw_data_with_id = get_raw_data_with_id(self, data, use_loaded_models=False)
- DESCRIPTION:
Get the raw data with id column used further for feature engineering, data preparation,
model training and evaluation.
PARAMETERS:
data:
Required Argument.
Specifies the dataset to be transformed.
Types: teradataml DataFrame
use_loaded_models:
Optional Argument.
Specifies whether to use loaded models for transformation.
Default Value: False
Types: bool
RETURNS:
teradataml DataFrame containing raw data with id column.
RAISES:
TeradataMlException, TypeError, ValueError
EXAMPLES:
# Create an instance of the AutoML called "automl_obj" by referring
# "AutoML()" or "AutoRegressor()" or "AutoClassifier()" or
# "AutoFraud()" or "AutoChurn()" or "AutoCluster()" method.
# Perform fit() operation on the "automl_obj".
# Get raw data with id column using get_raw_data_with_id() method on "automl_obj".
>>> automl_obj = AutoML(task_type="Classification")
>>> automl_obj.fit(admissions_train, "admitted")
>>> raw_data_with_id = automl_obj.get_raw_data_with_id(admissions_train)
>>> raw_data_with_id
# Create an instance of the AutoML called "automl_obj" by referring
# "AutoML()" or "AutoRegressor()" or "AutoClassifier()" or
# "AutoFraud()" or "AutoChurn()" method.
# Load models from the specified table.
# Get raw data with id column using get_raw_data_with_id() method on "automl_obj".
>>> automl_obj = AutoML()
>>> automl_obj.load("model_table")
>>> raw_data_with_id = automl_obj.get_raw_data_with_id(admissions_train, use_loaded_models=True)
>>> raw_data_with_id