apply() function applies a Python function on every teradataml DataFrame row by leveraging the Apply table operator in Open Analytics Framework and returning the result to the user as a teradataml DataFrame.
apply() supports Python functions including lambda functions.