// for hstack.
fea = fea.toarray()
if len(fea.shape) == 1:
fea = np.array([fea]).T
extracted.append(fea)
// combine the feature outputs into one array.
// at this point we lose track of which features
After Change
for transformer in transformers:
extracted.append(self._handle_feature(transformer.transform(self._get_col_subset(X, columns))))
else:
extracted.append(self._handle_feature(transformers.transform(self._get_col_subset(X, columns))))
else:
extracted.append(self._handle_feature(self._get_col_subset(X, columns)))