This notebook demonstrates how to use Snowpark for Python to perform exploratory data analysis (EDA) on a credit scoring dataset. This notebook uses LocalStack's Snowflake emulator to run Snowflake data pipelines locally.
- A valid LocalStack for Snowflake license. Your license provides a
LOCALSTACK_AUTH_TOKEN. localstackCLI withLOCALSTACK_AUTH_TOKENenvironment variable set- LocalStack Snowflake emulator
- Snowpark for Python
- Jupyter Notebook
export LOCALSTACK_AUTH_TOKEN=<your-auth-token>
localstack auth set-token $LOCALSTACK_AUTH_TOKEN
localstack start -s snowflake -d
localstack wait -t 30Start the LocalStack container using your preferred method. Ensure that you have access to LocalStack's Snowflake emulator. Start a Jupyter Notebook server and open the notebook in your browser.
jupyter notebookOpen the credit-scoring-eda.ipynb notebook and run the cells to see the results. Follow the instructions in the notebook to install the required packages and set up the Snowflake emulator.
This code is available under the Apache 2.0 license.