val_install_location | Teradata Package for Python - val_install_location - 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
March 2024
Language
English (United States)
Last Update
2024-04-09
dita:mapPath
nvi1706202040305.ditamap
dita:ditavalPath
plt1683835213376.ditaval
dita:id
rkb1531260709148
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)