Teradata Package for Python Function Reference on VantageCloud Lake - deploy - 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.autodataprep.AutoDataPrep.deploy = deploy(self, table_name)
DESCRIPTION:
    Deploy the AutoDataPrep generated data to the database,
    i.e., saves the data in the database.
 
PARAMETERS:
    table_name:
        Required Argument.
        Specifies the name of the table to store the information
        of deployed datasets in the database.
        Types: str
 
RETURNS:
    None
 
RAISES:
    TeradataMlException, ValueError
 
EXAMPLES:
    # Create an instance of the AutoDataPrep.
    # Perform fit() operation on the AutoDataPrep object.
    # Deploy the data to the table.
 
    From teradataml import AutoDataPrep
    # Load the example data.
    >>> load_example_data("teradataml", "titanic")
    >>> titanic = DataFrame.from_table("titanic")
 
    # Create an instance of AutoDataPrep.
    >>> aprep_obj = AutoDataPrep(task_type="Classification", verbose=2)
 
    # Fit the data.
    >>> aprep_obj.fit(titanic, titanic.survived)
 
    # Deploy the data to the table.
    >>> aprep_obj.deploy("table_name")