This use case shows how to use the teradataml package installed on the client to prepare data and run analytics.
The dataset used in this use case is included in the teradataml package and uploaded to Vantage using the teradataml function.
In the attached zip file, the Jupyter notebook for this use case includes the following sections:
- Section 0: Loading teradataml modules and connecting to Vantage from the client
- Section 1: Uploading the example dataset included in the teradataml package to Vantage and preparing data for analysis
- Sections 2 and 3: Running Churn Analysis using Sessionize and NPath functions from the teradataml package
- Section 2 focuses on non-churn customers
- Section 3 focuses on churn customers
Before running the example Jupyter notebook GettingStarted.ipynb for this use case, which is included in the attached zip file DataScience-Python_UseCases.zip, replace the <host>, <username>, <password> and <database> with the actual host, username, password and database for your system.