Machine Learning How To Solve This Python Code Error

Machine Learning How To Solve This Python Code Error