Analyzing with In-Database Python and STO | Data Scientists | Teradata Vantage - 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
Published
December 2020
Language
English (United States)
Last Update
2023-06-28
dita:mapPath
rdw1604689631129.ditamap
dita:ditavalPath
hod1606861214058.ditaval
dita:id
B700-4040

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.