We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Line number 123 , the usage of size
s = np.array(data.size)
Returns the number of the elements whereas only the elements of column 'size' are required .
It is giving the error - TypeError : iteration over 0-d array
So it is better to change the argument name on line number 122 to anything other than size.
data = pd.read_csv("ex1data2.txt",names=["size","bedrooms","price"])
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Line number 123 , the usage of size
s = np.array(data.size)
Returns the number of the elements whereas only the elements of column 'size' are required .
It is giving the error - TypeError : iteration over 0-d array
So it is better to change the argument name on line number 122 to anything other than size.
data = pd.read_csv("ex1data2.txt",names=["size","bedrooms","price"])
The text was updated successfully, but these errors were encountered: