From 7548c960a2ca581477aeb9e4e1d75f6f2b25b621 Mon Sep 17 00:00:00 2001 From: Apollo11 Date: Wed, 17 Dec 2025 19:08:44 +0100 Subject: [PATCH 1/3] Fix typo in dtype for numpy arrays in README --- subjects/ai/numpy/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subjects/ai/numpy/README.md b/subjects/ai/numpy/README.md index 04cce4e5d..4ba2264c5 100644 --- a/subjects/ai/numpy/README.md +++ b/subjects/ai/numpy/README.md @@ -193,8 +193,8 @@ The goal of this exercise is to learn to access values of n-dimensional arrays e 3. Using **broadcasting** create an output matrix based on the following two arrays: ```python - array_1 = np.array([1,2,3,4,5], dytpe=np.int8) - array_2 = np.array([1,2,3], dytpe=np.int8) + array_1 = np.array([1,2,3,4,5], dtype=np.int8) + array_2 = np.array([1,2,3], dtype=np.int8) ``` Expected output: From c8ef0d1669a2a64c8a82615e389a2264d0a2cb08 Mon Sep 17 00:00:00 2001 From: Apollo11 Date: Wed, 17 Dec 2025 19:14:05 +0100 Subject: [PATCH 2/3] Change Python version requirement in README Updated Python version requirement from 3.8 to >= 3.9 for virtual environment setup. --- subjects/ai/numpy/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subjects/ai/numpy/README.md b/subjects/ai/numpy/README.md index 4ba2264c5..2caff8c88 100644 --- a/subjects/ai/numpy/README.md +++ b/subjects/ai/numpy/README.md @@ -37,7 +37,7 @@ We suggest utilizing: - Choose a virtual environment that aligns with your familiarity. Common choices among Data Science practitioners are `virtualenv` and `conda`. - Install the most recent versions of the required libraries to ensure compatibility and access to the latest features -1. Begin by creating a virtual environment named `ex00` that utilizes Python version `3.8`. Install the required libraries `numpy` and `jupyter`. Save the installed packages to a file named `requirements.txt`, located in the current directory. +1. Begin by creating a virtual environment named `ex00` that utilizes Python version `>= 3.9`. Install the required libraries `numpy` and `jupyter`. Save the installed packages to a file named `requirements.txt`, located in the current directory. 2. Launch a `jupyter` notebook or `JupyterLab` on port `8891`. Create a new notebook named `Notebook_ex00`. From c14d2e235d57882f2c787171eabf4c316c45a121 Mon Sep 17 00:00:00 2001 From: Apollo11 Date: Wed, 17 Dec 2025 19:18:36 +0100 Subject: [PATCH 3/3] Remove link to Jupyter Notebooks article Removed a link about the benefits of using Jupyter Notebooks. --- subjects/ai/numpy/README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/subjects/ai/numpy/README.md b/subjects/ai/numpy/README.md index 2caff8c88..88af65d81 100644 --- a/subjects/ai/numpy/README.md +++ b/subjects/ai/numpy/README.md @@ -52,7 +52,6 @@ We suggest utilizing: - [jupyter](https://jupyter.org/) - [numpy](https://numpy.org/) - [Jupyter Notebook Shortcuts](https://towardsdatascience.com/jypyter-notebook-shortcuts-bf0101a98330) -- [Why You Should be Using Jupyter Notebooks](https://odsc.medium.com/why-you-should-be-using-jupyter-notebooks-ea2e568c59f2) ---