Here i create the Label Encoder Method: \'\'\'
def encoder(sc_train,sc_test): le = LabelEncoder() cols = sc_train.select_dtypes(include=[