display_analytic_functions() | Teradata Package for Python - display_analytic_functions() - Teradata Package for Python

Teradata® Package for Python User Guide

Product
Teradata Package for Python
Release Number
17.10
Published
May 2022
Language
English (United States)
Last Update
2022-08-18
dita:mapPath
rsu1641592952675.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
B700-4006
lifecycle
previous
Product Category
Teradata Vantage

Use the display_analytic_functions() function to display a list of analytic functions available to use on the Teradata Vantage system that the user is connected to.

Example Setup

>>> from teradataml import create_context, display_analytic_functions

Example 1: Display a list of available analytic functions

>>> create_context(host = host, username=user, password=password)
>>> display_analytic_functions()
    List of available SQLE analytic functions:
      1: Antiselect
      2: Attribution
      3: DecisionForestPredict
      4: DecisionTreePredict
      5: GLMPredict
      6: MovingAverage
      7: NaiveBayesPredict
      8: NaiveBayesTextClassifierPredict
      9: NGrams
      10: NPath
      ...

Example 2: When no analytic functions are available on the cluster

>>> display_analytic_functions()
    No analytic functions available with connected Teradata Vantage system.