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. |