निम्नलिखित कोड का आउटपुट क्या है?<break-line><break-line>What is the output of the following code?<pre><code>import numpy as np
a = np.arange(10)
print(a[2:5])</code></pre>
निम्नलिखित कोड का आउटपुट क्या है?<break-line><break-line>What is the output of the following code?<pre><code>import numpy as np
a = np.array([[1, 2], [3, 4]])
print(a.ndim)</code></pre>
NumPy में आइडेंटिटी मैट्रिक्स बनाने के लिए निम्नलिखित में से किसका उपयोग किया जाता है?<break-line><break-line>Which of the following is used to create an identity matrix in NumPy?
NumPy ऐरे को नया आकार देने के लिए निम्नलिखित में से किसका उपयोग किया जाता है?<break-line><break-line>Which of the following is used to reshape a NumPy array?