Menu
×
×
Correct!
Exercise:Use the correct NumPy method to find all items with the value 4.
arr = np.array([1, 2, 3, 4, 5, 4, 4])
x = np.@(5)(arr == 4)
arr = np.array([1, 2, 3, 4, 5, 4, 4])
x = np.where(arr == 4)
Not CorrectClick here to try again. Correct!Next ❯ |