text_plain_output_2.png application_vnd.jupyter.stderr_output_1.png image_output_1.png
txt_col = ['workclass', 'education', 'marital.status', 'occupation', 'relationship_change', 'race', 'sex', 'native.country']

from sklearn.pipeline import Pipeline
from sklearn.preprocessing import StandardScaler, OneHotEncoder
num_col = ['age', 'fnlwgt', 'education.num', 'capital.gain', 'capital.loss', 'hours.per.week']

(num_col, txt_col)