DataFrame.apply() Arguments | Teradata Package for Python - DataFrame.apply() Arguments - 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
Argument Required/Optional Type Description
user_function Required function or functools.partial Specifies the user-defined function to apply to each row in the teradataml DataFrame.
env_name Required string or oject of class UserEnv Specifies the name of the remote user environment or an object of class UserEnv.
exec_mode Optional string Specifies the mode of execution for the user-defined function.
chunk_size Optional integer Specifies the number of rows to be read in each chunk, using an iterator to apply the user-defined function to each row in the chunk.
returns Optional Dictionary specifying column name to teradatasqlalchemy type mapping Specifies the output column definition corresponding to the output of user_function.
delimiter Optional One-character string Specifies a delimiter to use when reading columns from a row and writing result columns.
quotechar Optional One-character string Specifies a character that forces all input and output of the user function to be quoted using this specified character.
data_partition_column Optional string OR list of strings Specifies the Partition By columns for the teradataml DataFrame.
data_hash_column Optional string Specifies the column to be used for hashing.
data_order_column Optional string OR list of strings Specifies the Order By columns for the teradataml DataFrame.
is_local_order Optional bool Specifies a boolean value to determine whether the input data is to be ordered locally or not.
nulls_first Optional bool Specifies a boolean value to determine whether NULLs are listed first or last during ordering.
sort_ascending Optional bool Specifies a boolean value to determine if the result set is to be sorted on the data_order_column in ascending or descending order.
style Optional bool Specifies how input is passed to and output is generated.