Search code examples
pythondata-scienceanalyticsspyderdata-analysis

data science name error: in spyder using python


enter image description here

data science problem there is some error in my code please some one help with it. I have tried multiple times can anyone suggest what to doo


Solution

  • You have never defined a variable called churn. I think you wanted to use the variable data, where you created the data frame.