text_plain_output_1.png
import os

import pandas as pd

dataset_path = '/kaggle/input/diabetes-readmission-prediction-i43/'
df = pd.read_csv(os.path.join(dataset_path, 'train.csv'))

columns_to_drop = ['weight', 'payer_code', 'medical_specialty', 'max_glu_serum', 'A1Cresult']
df = df.drop(columns=columns_to_drop)
df = df.dropna()

missing_values = round(100 * df.isnull().sum() / df.shape[0], 1)
missing_values