val_install_location | Teradata Package for Python - val_install_location - Teradata Package for Python

Teradata® Package for Python User Guide

Product
Teradata Package for Python
Release Number
17.00
Published
November 2021
Language
English (United States)
Last Update
2022-01-14
dita:mapPath
bol1585763678431.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
B700-4006
lifecycle
previous
Product Category
Teradata Vantage

The val_install_location configuration option indicates the name of the database where Vantage Analytic Library functions are installed. This option is internally used by VAL functions.

Example

  • Import all modules.
    >>> from teradataml import *
  • Set the configuration option val_install_location to "SYSLIB".
    >>> # Set the teradataml configuration option 'val_install_location' to "SYSLIB"
    >>> configure.val_install_location = "SYSLIB"
  • Create a data frame.
    >>> df = DataFrame("credit_tran")
  • Perform Association analysis using default values.
    >>> # Perform Association analysis using default values.
    >>> obj = valib.Association(data=df, group_column="cust_id", item_column="channel")
  • Print the affinity result.
    >>> # Print the affinity result. Only affinity result for default combination 11 is produced.
    >>> print(obj.result_11)