NumPy MCQ Test: NumPy MCQs - Practice Questions
1. Examine the purpose of the `np.interp` function in NumPy.
2. How can you reshape a NumPy array?
3. What is the purpose of the NumPy function 'np.argsort()'?
4. What is the difference between `np.concatenate` and `np.stack` in NumPy?
5. How do you apply a function element-wise to a NumPy array?
6. How do you calculate the cumulative sum of elements along a specified axis in a NumPy array?
7. What is the purpose of the `np.median` function in NumPy?
8. How can you perform element-wise addition of two NumPy arrays `arr1` and `arr2`?
9. How do you find the unique elements in a NumPy array?
10. How do you check the data type of a NumPy array named `my_array`?