Which NumPy function combines two arrays row-wise?
Anonymous Quiz
18%
A) np.hstack()
22%
B) np.vstack()
57%
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()
57%
B) np.unique()
19%
C) np.remove_duplicates()
2%
D) np.filter()
❤2