ColumnTransformer(transformers=[('ratings',
Pipeline(steps=[('impute',
SimpleImputer(strategy='most_frequent')),
('ord',
OrdinalEncoder(categories=[[1,
2,
3,
4,
5],
[1,
2,
3,
4,
5],
[1,
2,
3,
4,
5],
[1,
2,
3,
4,
5],
[1,
2,
3,
4,
5],
[1,
2,
3,
4,
5],
[1,
2,
3,
4,
5],
[1,
2,
3,
4,
5],
[1,
2,
3,
4,
5],
[1,
2,
3,
4,
5],
[1,
2,
3,
4,
5],
[1,
2,
3,
4,
5],
[1,
2,
3,
4,
5],
[1,
2,
3,
4,
5]],
handle_unknown='use_encoded_value',
un...
'Online boarding']),
('cats',
Pipeline(steps=[('impute',
SimpleImputer(strategy='most_frequent')),
('ohe',
OneHotEncoder(handle_unknown='ignore'))]),
['Customer Type', 'Type of Travel', 'Class']),
('nums',
Pipeline(steps=[('impute',
SimpleImputer(strategy='median')),
('scale', StandardScaler())]),
['Age', 'Flight Distance',
'Departure Delay in Minutes',
'Arrival Delay in Minutes'])])In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook.
On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.