Week 1 : C1_W1_Lab1 Small mistake (List not array)

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.

1 Like

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

1 Like

Thanks for your report.

1 Like