ndarray
Qus. 1 : <p>What is the output of the following code ?</p><pre>import numpy as np<br>y = np.array([[11, 12, 13, 14], [32, 33, 34, 35]])<br>print(y.ndim)</pre>
- 1
- 2
- 3
- 0
- ndarray
- narray
- nd_array
- darray
- 89
- [1,2,3,4]
- [1,2,3],[3,4,5],[1,3,4]
- [[2 3 5][ 4 5 6][4 5 6]]
- axes
- degree
- cordinate
- points
- List
- Array
- Matrix
- Set
- numpy.array(list)
- numpy.array(list, dtype=float)
- Both a and b
- None of the above
Programs
Create a numpy array having two dimensions and shape(3,3) and perform the following operations on array elements:
Write a program to find the intersection of two arrays