Examples with teradataml.DataFrame.apply Method | Open Analytics Framework | VantageCloud Lake - Examples with teradataml.DataFrame.apply Method - Teradata VantageCloud Lake

Lake - Analyze Your Data with ClearScape Analytics™

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2026-02-20
dita:mapPath
tcl1683670667798.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
tcl1683670667798
Use case: Two simple analytical computations:
  • Text analysis: You want to remove some stopwords from a given text.
  • Normalization: You want to transform a given set of numbers to normalized values.
Prerequisite steps:
  • Connect from the client to a target VantageCloud Lake system where the analytics task are to be performed.
  • Import necessary modules for this use case.
    from teradatasqlalchemy.types import BIGINT, VARCHAR, FLOAT, INTEGER
    from collections import OrderedDict
    import numpy as np
    import pandas as pd