String indices must be integers
I was trying to encode the string values of the feature 'ProductCategory' into integer values but I got this error. Kindly help.
And I would also like to ask if label-encoding this feature would not force my model to misrepresent the integer values as 012. Thanks.
Topic autoencoder encoding classification
Category Data Science