if a dataset contains both nominal and ordinal columns, is the dataset need different encoders like OneHotEncoder for nominal and OrdinalEncoder for ordinal values?
Yes, categorical/nominal and numeric (including ordinal) variables need to be treated differently, and it is very.common to encounter datasets with several types of variables.