SyntaxFix
Write A Post
Hire A Developer
Questions
Try by changing X[:,3] to X.iloc[:,3] in label encoder