Last answered:

29 Feb 2024

Posted on:

29 Feb 2024

0

ValueError in code

Hi!

I encountered a valueError in my code while following the lesson steps. I read the similar questions and answers concerning this error, I noticed that my own error message is quite different. Please how do I correct the error.


1 answers ( 0 marked as helpful)
Posted on:

29 Feb 2024

0

Found the error. I alternated the dependent and independent variables. That is;

y = data['SAT']

x1 = data['Admitted']

Submit an answer