Skip to content
3 changes: 2 additions & 1 deletion doc/examples/sales_forecasting/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ What You'll Need

You’ll need to:

* Set up `AI-Lab <https://github.com/exasol/ai-lab>`_ (We recommend the Docker version because it comes with the Docker database. Alternatively, you can use `Exasol SaaS <https://cloud.exasol.com>`_).
* Set up `AI-Lab <https://github.com/exasol/ai-lab>`_ (We recommend the Docker version because it comes with the Docker database. Alternatively, you can use onPrem DB).
* This version of the demo is not compatible with SaaS database.
* Download and import the notebooks zip file from :ref:`setup-sf`.

What You'll Learn
Expand Down
Binary file modified doc/examples/sales_forecasting/sales_forecasting.zip
Binary file not shown.
26 changes: 14 additions & 12 deletions doc/examples/sales_forecasting/setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
Setup
======

You will be needing `AI-Lab <https://github.com/exasol/ai-lab>`_ and an Exasol database. You can choose the Docker DB that comes with AI-Lab or
use `Exasol SaaS <https://cloud.exasol.com>`_ and start with the free trial.
You will be needing `AI-Lab <https://github.com/exasol/ai-lab>`_ and an Exasol database. You can use the Docker DB that comes with AI-Lab or an onPrem one.

Once you have finished setting up with `AI-Lab <https://github.com/exasol/ai-lab>`_, we can proceed.

Expand All @@ -14,9 +13,9 @@ Beginner to `AI-Lab <https://github.com/exasol/ai-lab>`_

If this is your first time using `AI-Lab <https://github.com/exasol/ai-lab>`_, follow these steps:

* Start with the `main_config` file.
* Go through all of the cells in the `main_config` file.
* You have multiple database options: Docker (recommended), SaaS, and On-Prem.
* Start with the `main_config` notebook.
* Go through all of the cells in the `main_config` notebook.
* You have multiple database options: Docker DB(recommended) and On-Prem.
* The last cell creates a **schema** for you and ensures that you are connected to a database.
* We can now proceed with our demo.

Expand All @@ -28,20 +27,23 @@ Download the Sales Forecasting Demo File
* **Extract** the contents of the .zip file using your file explorer.
* **Create** a folder inside the root folder of AI-Lab and name it "sales_forecasting".
* **Upload** the files inside extracted folder into the "sales_forecasting" folder. Using the import button on the top right.
* **Alternatively** you can just upload the .zip file to JupyterLabs and unzip it using :ref:`below`.
* **Alternatively** you can just upload the .zip file to JupyterLabs and unzip it using the :ref:`below`.
* **Congratulations!** You’re all set, and now **we shall meet in AI-Lab**.
* The notebooks are **numbered** so you can know which one to visit **first**.
* Start from the `export_store_data` notebook and then move onto the `main`` notebook.

.. _below:

Unzip Files in JupyterLab
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Code to Unzip Files in JupyterLab
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. code-block:: python

import zipfile as zf
files = zf.ZipFile("sales_forecasting.zip", 'r')
files.extractall('sales_forecasting')
files.close()

# Open the zip file
with zf.ZipFile("sales_forecasting.zip", 'r') as files:
# Extract all contents directly to the current directory
files.extractall()