text_html_output_1.png 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'), na_values='?')

train_data = pd.concat([X_train, y_train], axis=1)

train_data = train_data.drop(['encounter_id', 'patient_nbr'], axis=1)

num_cols = ['time_in_hospital', 'num_lab_procedures', 'num_procedures', 'num_medications', 'number_outpatient', 'number_emergency', 'number_inpatient', 'number_diagnoses']

train_data[num_cols].describe().T