call_udf() | teradataml DataFrame | Teradata Package for Python - call_udf() - Teradata Package for Python

Teradata® Package for Python User Guide

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Teradata Package for Python
Release Number
20.00
Published
December 2024
ft:locale
en-US
ft:lastEdition
2025-01-23
dita:mapPath
nvi1706202040305.ditamap
dita:ditavalPath
plt1683835213376.ditaval
dita:id
rkb1531260709148
Product Category
Teradata Vantage

call_udf() function lets you execute the registered UDF on each teradataml DataFrame row. call_udf() returns a teradataml DataFrame column, meaning these functions can be passed to teradataml DataFrame.assign() like a regular teradataml DataFrame column.

Arguments

Argument Required/Optional Type Description
udf_name Required string Specifies the name of the user-defined function.
func_args Optional tuple Specifies the arguments to pass to the registered UDF.

Default is ( ).

delimiter Optional One-character string Specifies a delimiter to use when reading columns from a row and writing result columns.

Default is comma (,). If data being processed contains a comma, specify a different delimiter.

quotechar Optional One-character string Specifies a character that forces the input of the user function to be quoted using this specified character.