val_install_location | Teradata Package for Python - val_install_location - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-04-03
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

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)