Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mooc-rr
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
f82c1c4a1227cdba8ff3317d228324d6
mooc-rr
Commits
8aafab84
Commit
8aafab84
authored
Mar 30, 2024
by
f82c1c4a1227cdba8ff3317d228324d6
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
resultb
parent
9478a36e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
17 deletions
+4
-17
exercice.ipynb
module3/exo3/exercice.ipynb
+4
-17
No files found.
module3/exo3/exercice.ipynb
View file @
8aafab84
...
...
@@ -47,22 +47,9 @@
},
{
"cell_type": "code",
"execution_count":
4
,
"execution_count":
null
,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
" Date Concentration\n",
"0 1958-03-29 316.19\n",
"1 1958-04-05 317.31\n",
"2 1958-04-12 317.69\n",
"3 1958-04-19 317.58\n",
"4 1958-04-26 316.48\n"
]
}
],
"outputs": [],
"source": [
"# Charger les données dans une table de pandas\n",
"# data = pd.read_csv(data_file, skiprows=44, sep=r'\\s+', engine='python', parse_dates=[0], index_col=[0], names = ['Date', 'Concentration'])\n",
...
...
@@ -73,7 +60,7 @@
},
{
"cell_type": "code",
"execution_count":
5
,
"execution_count":
null
,
"metadata": {},
"outputs": [],
"source": [
...
...
@@ -147,7 +134,7 @@
"source": [
"# Création du graphique pour montrer la concentration moyenne de CO2 par an au fil du temps\n",
"plt.figure(figsize=(10, 6))\n",
"plt.plot(data['Date'], data['Mean CO2 Concentration'], label='Mean CO2 Concentration')\n",
"plt.plot(data['Date'], data['Mean CO2 Concentration'], label='Mean CO2 Concentration
per Year Over Time
')\n",
"plt.title('Mean CO2 Concentration per Year Over Time')\n",
"plt.xlabel('Year')\n",
"plt.ylabel('CO2 Concentration (ppm)')\n",
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment