From 4c79a1e5ad336961ebd19dd7f57127873201f3fa Mon Sep 17 00:00:00 2001 From: c4b4c4d45a79e9781c87897476ed95c8 Date: Tue, 12 May 2020 12:23:41 +0000 Subject: [PATCH] Correction std function ddof -> 1 --- module2/exo2/exercice.ipynb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/module2/exo2/exercice.ipynb b/module2/exo2/exercice.ipynb index 8141b73..f0cddd8 100644 --- a/module2/exo2/exercice.ipynb +++ b/module2/exo2/exercice.ipynb @@ -77,27 +77,27 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 10, "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "4.312369534258399" + "4.334094455301447" ] }, - "execution_count": 7, + "execution_count": 10, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "np.std(a)" + "np.std(a,ddof=1)" ] }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 11, "metadata": {}, "outputs": [ { @@ -106,7 +106,7 @@ "2.8" ] }, - "execution_count": 8, + "execution_count": 11, "metadata": {}, "output_type": "execute_result" } -- 2.18.1