I am getting
TypeError: unhashable type: \'slice\'
when executing the below code for encoding categorical data in Python. Can a
Try by changing X[:,3] to X.iloc[:,3] in label encoder