Création du document d'analyse sur la varicelle, importation des données,...

Création du document d'analyse sur la varicelle, importation des données, suppression des lignes vides
parent 4950fc4d
......@@ -10,7 +10,9 @@
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"metadata": {
"scrolled": true
},
"outputs": [],
"source": [
"%matplotlib inline\n",
......@@ -22,7 +24,9 @@
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"metadata": {
"scrolled": true
},
"outputs": [],
"source": [
"data_url = \"http://www.sentiweb.fr/datasets/incidence-PAY-3.csv\""
......@@ -38,7 +42,9 @@
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"metadata": {
"scrolled": true
},
"outputs": [],
"source": [
"file_name = \"syndrome-grippal.csv\"\n",
......@@ -1058,7 +1064,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"scrolled": true
},
"outputs": [],
"source": [
"raw_data[raw_data.isnull().any(axis=1)]"
......@@ -1074,7 +1082,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"scrolled": true
},
"outputs": [],
"source": [
"data = raw_data.dropna().copy()\n",
......@@ -1102,7 +1112,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"scrolled": true
},
"outputs": [],
"source": [
"def convert_week(year_and_week_int):\n",
......@@ -1159,7 +1171,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"scrolled": true
},
"outputs": [],
"source": [
"periods = sorted_data.index\n",
......@@ -1179,7 +1193,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"scrolled": true
},
"outputs": [],
"source": [
"sorted_data['inc'].plot()"
......@@ -1195,7 +1211,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"scrolled": true
},
"outputs": [],
"source": [
"sorted_data['inc'][-200:].plot()"
......@@ -1254,7 +1272,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"scrolled": true
},
"outputs": [],
"source": [
"year = []\n",
......@@ -1278,7 +1298,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"scrolled": true
},
"outputs": [],
"source": [
"yearly_incidence.plot(style='*')"
......@@ -1294,7 +1316,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"scrolled": true
},
"outputs": [],
"source": [
"yearly_incidence.sort_values()"
......@@ -1311,7 +1335,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"scrolled": true
},
"outputs": [],
"source": [
"yearly_incidence.hist(xrot=20)"
......
This diff is collapsed.
This diff is collapsed.
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