update notebook

parent 765f613b
...@@ -1056,6 +1056,14 @@ ...@@ -1056,6 +1056,14 @@
"raw_data[raw_data.isnull().any(axis=1)]" "raw_data[raw_data.isnull().any(axis=1)]"
] ]
}, },
{
"cell_type": "markdown",
"metadata": {},
"source": [
"**This csv file of chickenpox_data does not have any missing data, so No year entry has been deleted\n",
"The code line that was used to remove the year entry has been commented out**"
]
},
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 5, "execution_count": 5,
...@@ -1112,7 +1120,7 @@ ...@@ -1112,7 +1120,7 @@
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7ff1353ab7b8>" "<matplotlib.axes._subplots.AxesSubplot at 0x7f9c12de2668>"
] ]
}, },
"execution_count": 9, "execution_count": 9,
...@@ -1144,7 +1152,7 @@ ...@@ -1144,7 +1152,7 @@
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7ff132d21278>" "<matplotlib.axes._subplots.AxesSubplot at 0x7f9c10cb6550>"
] ]
}, },
"execution_count": 10, "execution_count": 10,
...@@ -1168,6 +1176,15 @@ ...@@ -1168,6 +1176,15 @@
"sorted_data['inc'][-200:].plot()" "sorted_data['inc'][-200:].plot()"
] ]
}, },
{
"cell_type": "markdown",
"metadata": {},
"source": [
"**we need to start from Ist of september so below 8 has been replaced with 9\n",
"Also the current data set is from 1990 to 2022, so we give 1991 the starting year to consider the year with full peak of the epidemic as described by the instructiors of the code\n",
"--- Replaced 1985 by 1991**"
]
},
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 11, "execution_count": 11,
...@@ -1204,7 +1221,7 @@ ...@@ -1204,7 +1221,7 @@
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7ff132ca8b00>" "<matplotlib.axes._subplots.AxesSubplot at 0x7f9c10c39a90>"
] ]
}, },
"execution_count": 13, "execution_count": 13,
...@@ -1286,7 +1303,7 @@ ...@@ -1286,7 +1303,7 @@
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7ff132c03358>" "<matplotlib.axes._subplots.AxesSubplot at 0x7f9c10d13a58>"
] ]
}, },
"execution_count": 15, "execution_count": 15,
......
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