{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "import pandas as pd\n", "import numpy as np\n", "import matplotlib.pyplot as plt\n", "%matplotlib inline\n", "from matplotlib import style\n", "import warnings\n", "warnings.filterwarnings(\"ignore\")" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " | abdominal_pain | \n", "abnormal_menstruation | \n", "acidity | \n", "acute_liver_failure | \n", "altered_sensorium | \n", "anxiety | \n", "back_pain | \n", "belly_pain | \n", "blackheads | \n", "bladder_discomfort | \n", "... | \n", "weakness_in_limbs | \n", "weakness_of_one_body_side | \n", "weight_gain | \n", "weight_loss | \n", "yellow_crust_ooze | \n", "yellow_urine | \n", "yellowing_of_eyes | \n", "yellowish_skin | \n", "prognosis | \n", "symptoms | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
25 | \n", "0 | \n", "1 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "... | \n", "0 | \n", "0 | \n", "0 | \n", "1 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "Hyperthyroidism | \n", "11 | \n", "
1 rows × 136 columns
\n", "\n", " | abdominal_pain | \n", "abnormal_menstruation | \n", "acidity | \n", "acute_liver_failure | \n", "altered_sensorium | \n", "anxiety | \n", "back_pain | \n", "belly_pain | \n", "blackheads | \n", "bladder_discomfort | \n", "... | \n", "weakness_in_limbs | \n", "weakness_of_one_body_side | \n", "weight_gain | \n", "weight_loss | \n", "yellow_crust_ooze | \n", "yellow_urine | \n", "yellowing_of_eyes | \n", "yellowish_skin | \n", "prognosis | \n", "symptoms | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
13 | \n", "1 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "... | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "1 | \n", "Alcoholic hepatitis | \n", "6 | \n", "
1 rows × 136 columns
\n", "\n", " | abdominal_pain | \n", "abnormal_menstruation | \n", "acidity | \n", "acute_liver_failure | \n", "altered_sensorium | \n", "anxiety | \n", "back_pain | \n", "belly_pain | \n", "blackheads | \n", "bladder_discomfort | \n", "... | \n", "weakness_in_limbs | \n", "weakness_of_one_body_side | \n", "weight_gain | \n", "weight_loss | \n", "yellow_crust_ooze | \n", "yellow_urine | \n", "yellowing_of_eyes | \n", "yellowish_skin | \n", "prognosis | \n", "symptoms | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "... | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "4 | \n", "
1 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "... | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "3 | \n", "
2 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "... | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "3 | \n", "
3 rows × 136 columns
\n", "