Data Transformation, Sklearn, Machine Learning, One Hot Encoding, Label Encoding.
2 oversampled.select_dtypes(include=['object']).columns # Impute categorical var with Mode oversampled['MRNO'] = oversampled['MRNO'].fillna(oversampled['MRNO'].mode()[0]) oversampled['AGE'] = oversampled['AGE'].fillna(oversampled['AGE'].mode()[0]) oversampled['GENDER'] =