ajout de la fonction round pour mean (oubli commit précédent)

parent 43bea101
...@@ -39,23 +39,23 @@ ...@@ -39,23 +39,23 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 5, "execution_count": 15,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"14.113000000000001" "14.11"
] ]
}, },
"execution_count": 5, "execution_count": 15,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
], ],
"source": [ "source": [
"mean = np.mean(data)\n", "mean = np.mean(data)\n",
"mean" "round(mean, 2)"
] ]
}, },
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment