-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
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"])
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels