exercice module 3

parent b2a5e697
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 20, "execution_count": 17,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 21, "execution_count": 18,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 22, "execution_count": 19,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 23, "execution_count": 20,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
...@@ -268,7 +268,7 @@ ...@@ -268,7 +268,7 @@
"9 314.93 316.22 MLO " "9 314.93 316.22 MLO "
] ]
}, },
"execution_count": 23, "execution_count": 20,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
...@@ -287,7 +287,7 @@ ...@@ -287,7 +287,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 24, "execution_count": 21,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
...@@ -495,7 +495,7 @@ ...@@ -495,7 +495,7 @@
"11 312.42 315.41 MLO " "11 312.42 315.41 MLO "
] ]
}, },
"execution_count": 24, "execution_count": 21,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
...@@ -517,7 +517,7 @@ ...@@ -517,7 +517,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 25, "execution_count": 22,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
...@@ -625,7 +625,7 @@ ...@@ -625,7 +625,7 @@
"11 21473 312.42 315.41" "11 21473 312.42 315.41"
] ]
}, },
"execution_count": 25, "execution_count": 22,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
...@@ -644,7 +644,7 @@ ...@@ -644,7 +644,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 27, "execution_count": 23,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
...@@ -752,7 +752,7 @@ ...@@ -752,7 +752,7 @@
"11 21473 312.42 315.41" "11 21473 312.42 315.41"
] ]
}, },
"execution_count": 27, "execution_count": 23,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
...@@ -774,7 +774,7 @@ ...@@ -774,7 +774,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 29, "execution_count": 24,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
...@@ -882,7 +882,7 @@ ...@@ -882,7 +882,7 @@
"13 21534 314.67 315.44" "13 21534 314.67 315.44"
] ]
}, },
"execution_count": 29, "execution_count": 24,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
...@@ -902,7 +902,7 @@ ...@@ -902,7 +902,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 30, "execution_count": 25,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
...@@ -1010,7 +1010,7 @@ ...@@ -1010,7 +1010,7 @@
"13 1958-12 314.67 315.44" "13 1958-12 314.67 315.44"
] ]
}, },
"execution_count": 30, "execution_count": 25,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
...@@ -1035,7 +1035,7 @@ ...@@ -1035,7 +1035,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 57, "execution_count": 26,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
...@@ -1138,7 +1138,7 @@ ...@@ -1138,7 +1138,7 @@
"1958-12 314.67 315.44" "1958-12 314.67 315.44"
] ]
}, },
"execution_count": 57, "execution_count": 26,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
...@@ -1158,16 +1158,16 @@ ...@@ -1158,16 +1158,16 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 33, "execution_count": 27,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7fd6a4e34e10>" "<matplotlib.axes._subplots.AxesSubplot at 0x7f747e8c1128>"
] ]
}, },
"execution_count": 33, "execution_count": 27,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
}, },
...@@ -1201,16 +1201,16 @@ ...@@ -1201,16 +1201,16 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 34, "execution_count": 28,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7fd6a2cb66d8>" "<matplotlib.axes._subplots.AxesSubplot at 0x7f747e82dba8>"
] ]
}, },
"execution_count": 34, "execution_count": 28,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
}, },
...@@ -1241,16 +1241,16 @@ ...@@ -1241,16 +1241,16 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 36, "execution_count": 29,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7fd69ebe0c50>" "<matplotlib.axes._subplots.AxesSubplot at 0x7f747e798240>"
] ]
}, },
"execution_count": 36, "execution_count": 29,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
}, },
...@@ -1281,16 +1281,16 @@ ...@@ -1281,16 +1281,16 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 49, "execution_count": 30,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7fd69e367518>" "<matplotlib.axes._subplots.AxesSubplot at 0x7f747e6db4e0>"
] ]
}, },
"execution_count": 49, "execution_count": 30,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
}, },
...@@ -1326,7 +1326,7 @@ ...@@ -1326,7 +1326,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 86, "execution_count": 31,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
...@@ -1339,10 +1339,10 @@ ...@@ -1339,10 +1339,10 @@
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7fd69c04e898>" "<matplotlib.axes._subplots.AxesSubplot at 0x7f747e60b5f8>"
] ]
}, },
"execution_count": 86, "execution_count": 31,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
}, },
...@@ -1367,8 +1367,8 @@ ...@@ -1367,8 +1367,8 @@
"\n", "\n",
"dates = []\n", "dates = []\n",
"for i in range(1, nb_months+1):\n", "for i in range(1, nb_months+1):\n",
" year = last_period_in_data.year+i//12\n", " year = last_date_in_data.year+i//12\n",
" month = last_period_in_data.month+i%12\n", " month = last_date_in_data.month+i%12\n",
" dates.append(pd.Period(year=year, month=month, freq=\"M\"))\n", " dates.append(pd.Period(year=year, month=month, freq=\"M\"))\n",
"\n", "\n",
"a = 32\n", "a = 32\n",
...@@ -1389,16 +1389,9 @@ ...@@ -1389,16 +1389,9 @@
"metadata": {}, "metadata": {},
"source": [ "source": [
"On peut estimer que :\n", "On peut estimer que :\n",
" - la concentration de CO2 dans l'atmosphère au début 2025 est d'environ 431ppm\n", "- la concentration de CO2 dans l'atmosphère au début 2025 est d'environ 431ppm\n",
" - elle augmente jusqu'à 434ppm à la fin 2025." "- elle augmente jusqu'à 434ppm à la fin 2025."
] ]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
} }
], ],
"metadata": { "metadata": {
......
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