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
8c2481a10dd33818b61b3592d19a3613
mooc-rr
Commits
96e99098
Commit
96e99098
authored
May 11, 2020
by
8c2481a10dd33818b61b3592d19a3613
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial commit : add environment initialization
parent
99722c5d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
63 additions
and
25 deletions
+63
-25
Etude de cas incidence de la varicelle..ipynb
module3/exo2/Etude de cas incidence de la varicelle..ipynb
+63
-0
exercice.ipynb
module3/exo2/exercice.ipynb
+0
-25
No files found.
module3/exo2/Etude de cas incidence de la varicelle..ipynb
0 → 100644
View file @
96e99098
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Incidence de la varicelle\n",
"## Récupération des données: \n",
"Initialisation de l'environnement de développement."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%matplotlib inline\n",
"import matplotlib.pyplot as plt\n",
"import pandas as pd\n",
"import isoweek\n",
"\n",
"#variables d'import des données :\n",
"data_url = \"http://www.sentiweb.fr/datasets/incidence-PAY-3.csv\"\n",
"data_local = \"incidence-PAY-3.csv\"\n",
"\n",
"import os\n",
"import urllib.request\n",
"#Test de présence des données : \n",
"if os.path.exists(data_local):\n",
" raw_data = pd.read_csv(data_local, skiprows=1)\n",
" print(\"Local File Selected\")\n",
"else :\n",
" urllib.request.urlretrieve(data_url, data_data)\n",
" raw_data = pd.read_csv(data_url, skiprows=1)\n",
"\n",
"#Contient les données local ou provenant de l'url ci-dessus.\n",
"raw_data"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.4"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
module3/exo2/exercice.ipynb
deleted
100644 → 0
View file @
99722c5d
{
"cells": [],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.3"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
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