A simple mistake in the notebook C1_W1_Lab1
Section 4 : Indexing and slicing
THe used variable ‘a’ was supposed to be narray not a list. Same results but different data type.
Correction : a= np.array([1,2,3,4,5])
A simple mistake in the notebook C1_W1_Lab1
Section 4 : Indexing and slicing
THe used variable ‘a’ was supposed to be narray not a list. Same results but different data type.
Correction : a= np.array([1,2,3,4,5])
But it will fail in the cell
a == a[:] == a[::]
np.array_equal(a,a[:]) and np.array_equal(a[::],a[:])
Are you facing any particular issue, I am sorry but I am not able to understand you.
Thanks for replying…
I wished to say that there is a mistake in the notebook
Istead of using Numpy array, they used a Python List.
Just I wished to notify the ADMINS
Thanks for your report.