Analyzing with In-Database Python and STO | Data Scientists | Teradata Vantage - 17.00 - Analyzing with In-Database Python and STO - Teradata Package for Python - Teradata Vantage

Getting Started Guide for Data Scientists Using Python with Vantage

Product
Teradata Package for Python
Teradata Vantage
Release Number
17.00
Release Date
December 2020
Content Type
Programming Reference
Publication ID
B700-4040-120K
Language
English (United States)

This use case shows how to use teradataml functions to prepare data for analysis, and then run analytics with In-DB Python interpreters and add-on packages through the SCRIPT Table Operator (STO).

The datasets used in this use case are CSV files that we will upload to Vantage using Teradata Studio.

In the attached zip file, the Jupyter notebook includes the following sections:
Before running the example Jupyter notebook AnalyzingSTO.ipynb for this use case, extract the attached zip file DataScience-Python_UseCases.zip and make the following changes:
  • In the Jupyter notebook AnalyzingSTO.ipynb:
    • Replace the <host>, <username>, <password> and <database> with the actual host, username, password and database for your system;
    • Replace the <files_local_path> with the actual local path where you saved the Python script file.
  • In the Python script file ex1pSco.py, replace the <database> with the actual database for your system.