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
cb1e5ba91280d02583d0604166e71c1c
mooc-rr
Commits
cf1d3663
Commit
cf1d3663
authored
Apr 03, 2020
by
cb1e5ba91280d02583d0604166e71c1c
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no commit message
parent
bb83a1a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
exercice.ipynb
module3/exo3/exercice.ipynb
+7
-4
No files found.
module3/exo3/exercice.ipynb
View file @
cf1d3663
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
18
,
"execution_count":
20
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
...
@@ -995,7 +995,7 @@
...
@@ -995,7 +995,7 @@
"[756 rows x 10 columns]"
"[756 rows x 10 columns]"
]
]
},
},
"execution_count":
18
,
"execution_count":
20
,
"metadata": {},
"metadata": {},
"output_type": "execute_result"
"output_type": "execute_result"
}
}
...
@@ -1005,11 +1005,14 @@
...
@@ -1005,11 +1005,14 @@
" raw_data = pd.read_csv(\"https://scrippsco2.ucsd.edu/assets/data/atmospheric/stations/in_situ_co2/monthly/monthly_in_situ_co2_mlo.csv\",skiprows=56)\n",
" raw_data = pd.read_csv(\"https://scrippsco2.ucsd.edu/assets/data/atmospheric/stations/in_situ_co2/monthly/monthly_in_situ_co2_mlo.csv\",skiprows=56)\n",
"except OSError as err:\n",
"except OSError as err:\n",
" print(\"Erreur lors du téléchargement : {0}\".format(err))\n",
" print(\"Erreur lors du téléchargement : {0}\".format(err))\n",
" print(\"Nous téléchargeons les dernières données enregistrer sur notre PC\")\n",
" raw_data = pd.read_csv(\"monthly_in_situ_co2_mlo.csv\",skiprows=56)\n",
"except:\n",
"except:\n",
" print(\"Unexpected error:\", sys.exc_info()[0])\n",
" print(\"Unexpected error:\", sys.exc_info()[0])\n",
" raise\n",
" raise\n",
" \n",
"else:\n",
"raw_data.to_csv('monthly_in_situ_co2_mlo',index=True)\n",
" raw_data.to_csv('monthly_in_situ_co2_mlo',index=True)\n",
"\n",
"raw_data\n",
"raw_data\n",
"\n",
"\n",
" \n"
" \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