Skip to content

Commit

Permalink
null values checked
Browse files Browse the repository at this point in the history
  • Loading branch information
avii-07 committed May 14, 2024
1 parent a3c7b4c commit c55d44f
Showing 1 changed file with 63 additions and 10 deletions.
73 changes: 63 additions & 10 deletions Lung Cancer Detection/Lung-cancer-detection-Exploration.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 4,
"id": "d5540bc1",
"metadata": {},
"outputs": [],
Expand All @@ -22,7 +22,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 5,
"id": "79de3d42",
"metadata": {},
"outputs": [],
Expand All @@ -40,7 +40,7 @@
},
{
"cell_type": "code",
"execution_count": 20,
"execution_count": 6,
"id": "9d065c97",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -206,7 +206,7 @@
"4 2 1 1 NO "
]
},
"execution_count": 20,
"execution_count": 6,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -237,7 +237,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 7,
"id": "8b5d6d26",
"metadata": {},
"outputs": [
Expand All @@ -247,7 +247,7 @@
"(309, 16)"
]
},
"execution_count": 5,
"execution_count": 7,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -274,7 +274,7 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": 8,
"id": "53064761",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -332,7 +332,7 @@
},
{
"cell_type": "code",
"execution_count": 15,
"execution_count": 9,
"id": "0616237a",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -546,7 +546,7 @@
"max 2.000000 2.000000 2.000000 2.000000 "
]
},
"execution_count": 15,
"execution_count": 9,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -569,10 +569,63 @@
"### Rest other features and label are categorical data, each having two sub categories."
]
},
{
"cell_type": "markdown",
"id": "5a62df6e",
"metadata": {},
"source": [
"## Null values check"
]
},
{
"cell_type": "code",
"execution_count": 10,
"id": "5d592446",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"GENDER 0\n",
"AGE 0\n",
"SMOKING 0\n",
"YELLOW_FINGERS 0\n",
"ANXIETY 0\n",
"PEER_PRESSURE 0\n",
"CHRONIC DISEASE 0\n",
"FATIGUE 0\n",
"ALLERGY 0\n",
"WHEEZING 0\n",
"ALCOHOL CONSUMING 0\n",
"COUGHING 0\n",
"SHORTNESS OF BREATH 0\n",
"SWALLOWING DIFFICULTY 0\n",
"CHEST PAIN 0\n",
"LUNG_CANCER 0\n",
"dtype: int64"
]
},
"execution_count": 10,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"df.isnull().sum()"
]
},
{
"cell_type": "markdown",
"id": "44d3ac21",
"metadata": {},
"source": [
"### There are no null values in the dataset."
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "1c959430",
"id": "c4995c1c",
"metadata": {},
"outputs": [],
"source": []
Expand Down

0 comments on commit c55d44f

Please sign in to comment.