Which function is used to find the index of elements that match a condition?
Anonymous Quiz
21%
A) np.find()
16%
B) np.search()
16%
C) np.where()
47%
D) np.index()
❤1
Which NumPy function combines two arrays row-wise?
Anonymous Quiz
18%
A) np.hstack()
22%
B) np.vstack()
58%
C) np.concatenate()
3%
D) np.split()
❤2
What is the main difference between copy() and view() in NumPy?
Anonymous Quiz
6%
A) Both behave exactly the same.
45%
B) copy() shares data with the original array, while view() creates an independent copy.
47%
C) copy() creates an independent copy, while view() shares data with the original array.
2%
D) view() removes duplicate values.
❤1
Which NumPy function returns only the unique values from an array?
Anonymous Quiz
22%
A) np.distinct()
56%
B) np.unique()
18%
C) np.remove_duplicates()
3%
D) np.filter()
❤2