Mix ordinal and one-hot encodings

Hello,
Is it possible to use ordinal encoding for some categorical features and one-hot encoding for other categorical features at the same time ?
I would say yes but the pipeline usage in the exercise above

model = make_pipeline(
    OneHotEncoder(handle_unknown="ignore"), LogisticRegression(max_iter=500)
)

makes think that you have to choose one or another.

You need to await for the next notebook where you will see the usage of the ColumnTransformer where it is possible to indeed transform with both encodings at the same time different columns.

Ok, thank you for your answer.