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.
46%
C) copy() creates an independent copy, while view() shares data with the original array.
3%
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()
20%
C) np.remove_duplicates()
3%
D) np.filter()
❤2