deploy | AutoDataPrep in AutoML | teradataml - deploy - Teradata Package for Python

Teradata® Package for Python User Guide

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Teradata Package for Python
Release Number
20.00
Publication Date
March 2025
Content Type
User Guide
Publication ID
B700-4006-200K
ft:locale
en-US
ft:lastEdition
2026-08-13
dita:mapPath
nvi1706202040305.ditamap
dita:ditavalPath
plt1683835213376.ditaval
ft:sourceId
dita
dita:id
rkb1531260709148
Product Category
Teradata Vantage

Use the deploy() function to deploy the AutoDataPrep-generated data to the database, i.e., save the data in the database.

Required Parameter

table_name
Specifies the name of the table to store the information of deployed datasets in the database.

Example setup

  • 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")

Example 1: Deploy data

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")