Skip to content

Commit 1da934c

Browse files
Removed SaaS references and added language definition (#28)
* sales forecating demo added in examples adjusted file size * fixed some notebook documentation * fixed download link * rectified documentation * rectified documentation * pyexasol docs added * zip file extraction code changed * removed SaaS references and added custom SLC language defination
1 parent 13c4674 commit 1da934c

File tree

3 files changed

+16
-13
lines changed

3 files changed

+16
-13
lines changed

doc/examples/sales_forecasting/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ What You'll Need
2828

2929
You’ll need to:
3030

31-
* 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>`_).
31+
* 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).
32+
* This version of the demo is not compatible with SaaS database.
3233
* Download and import the notebooks zip file from :ref:`setup-sf`.
3334

3435
What You'll Learn
-135 KB
Binary file not shown.

doc/examples/sales_forecasting/setup.rst

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
Setup
55
======
66

7-
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
8-
use `Exasol SaaS <https://cloud.exasol.com>`_ and start with the free trial.
7+
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.
98

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

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

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

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

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

3534
.. _below:
3635

37-
Unzip Files in JupyterLab
38-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
36+
Code to Unzip Files in JupyterLab
37+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
38+
3939
.. code-block:: python
4040
4141
import zipfile as zf
42-
files = zf.ZipFile("sales_forecasting.zip", 'r')
43-
files.extractall('sales_forecasting')
44-
files.close()
42+
43+
# Open the zip file
44+
with zf.ZipFile("sales_forecasting.zip", 'r') as files:
45+
# Extract all contents directly to the current directory
46+
files.extractall()
4547
4648
4749

0 commit comments

Comments
 (0)