Data Science, Machine Learning, Analytics, Time Series Analysis, Linear Regression.
model by converting these ordinal features into numerical ones by using ordinal encoder. This transformation helps in removing unnecessary complexities within the model, while at the same time retaining important information. np.sort(cleandata['flat_type'].unique()) ‘flat_type’ after ordinal