From adc25c521cde348ccce629215aeed33082311bc9 Mon Sep 17 00:00:00 2001 From: 1071ae964b205fc96951cf272887f050 <1071ae964b205fc96951cf272887f050@app-learninglab.inria.fr> Date: Sun, 22 Jun 2025 14:04:33 +0000 Subject: [PATCH] task finished. a small update --- module3/exo2/exercice.ipynb | 63 ++++++++++++++++++++----------------- 1 file changed, 35 insertions(+), 28 deletions(-) diff --git a/module3/exo2/exercice.ipynb b/module3/exo2/exercice.ipynb index 4809e3f..c31d426 100644 --- a/module3/exo2/exercice.ipynb +++ b/module3/exo2/exercice.ipynb @@ -9,7 +9,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 25, "metadata": {}, "outputs": [], "source": [ @@ -28,7 +28,7 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": 26, "metadata": {}, "outputs": [], "source": [ @@ -44,7 +44,7 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": 27, "metadata": {}, "outputs": [ { @@ -1009,7 +1009,7 @@ "[1802 rows x 10 columns]" ] }, - "execution_count": 10, + "execution_count": 27, "metadata": {}, "output_type": "execute_result" } @@ -1028,7 +1028,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 28, "metadata": {}, "outputs": [ { @@ -1075,7 +1075,7 @@ "Index: []" ] }, - "execution_count": 11, + "execution_count": 28, "metadata": {}, "output_type": "execute_result" } @@ -1100,7 +1100,7 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": 29, "metadata": {}, "outputs": [ { @@ -2127,7 +2127,7 @@ "[1802 rows x 11 columns]" ] }, - "execution_count": 12, + "execution_count": 29, "metadata": {}, "output_type": "execute_result" } @@ -2153,7 +2153,7 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": 30, "metadata": {}, "outputs": [ { @@ -3133,7 +3133,7 @@ "[1802 rows x 10 columns]" ] }, - "execution_count": 14, + "execution_count": 30, "metadata": {}, "output_type": "execute_result" } @@ -3152,7 +3152,7 @@ }, { "cell_type": "code", - "execution_count": 16, + "execution_count": 31, "metadata": {}, "outputs": [], "source": [ @@ -3181,16 +3181,16 @@ }, { "cell_type": "code", - "execution_count": 17, + "execution_count": 32, "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "" + "" ] }, - "execution_count": 17, + "execution_count": 32, "metadata": {}, "output_type": "execute_result" }, @@ -3220,16 +3220,16 @@ }, { "cell_type": "code", - "execution_count": 18, + "execution_count": 33, "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "" + "" ] }, - "execution_count": 18, + "execution_count": 33, "metadata": {}, "output_type": "execute_result" }, @@ -3266,7 +3266,7 @@ }, { "cell_type": "code", - "execution_count": 20, + "execution_count": 34, "metadata": {}, "outputs": [ { @@ -3308,7 +3308,7 @@ " Period('2024-08-26/2024-09-01', 'W-SUN')]" ] }, - "execution_count": 20, + "execution_count": 34, "metadata": {}, "output_type": "execute_result" } @@ -3329,7 +3329,7 @@ }, { "cell_type": "code", - "execution_count": 21, + "execution_count": 35, "metadata": {}, "outputs": [], "source": [ @@ -3353,16 +3353,16 @@ }, { "cell_type": "code", - "execution_count": 22, + "execution_count": 36, "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "" + "" ] }, - "execution_count": 22, + "execution_count": 36, "metadata": {}, "output_type": "execute_result" }, @@ -3392,7 +3392,7 @@ }, { "cell_type": "code", - "execution_count": 23, + "execution_count": 37, "metadata": {}, "outputs": [ { @@ -3434,7 +3434,7 @@ "dtype: int64" ] }, - "execution_count": 23, + "execution_count": 37, "metadata": {}, "output_type": "execute_result" } @@ -3443,6 +3443,13 @@ "yearly_incidence.sort_values()" ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Find the year with the strongest epidemic and the year with the weakest epidemic from the above data." + ] + }, { "cell_type": "markdown", "metadata": {}, @@ -3452,16 +3459,16 @@ }, { "cell_type": "code", - "execution_count": 24, + "execution_count": 38, "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "" + "" ] }, - "execution_count": 24, + "execution_count": 38, "metadata": {}, "output_type": "execute_result" }, -- 2.18.1