Category "feature-engineering"

Using StandardScaler for multiple columns

I want to use StandardScaler only on certain columns, however my code resulted in error. Here is my code: from sklearn.preprocessing import StandardScaler num_c

Feature-Engine RareLabelEncoder: ValueError: could not convert string to float: 'Rare'

from sklearn.compose import make_column_transformer from sklearn.preprocessing import StandardScaler from feature_engine.encoding import RareLabelEncoder from f