NumPy Basics
निम्नलिखित कोड का उद्देश्य क्या है?
What will be output for the following code ?
import numpy as np
a = np.array( [ [1, 2, 3 ], [0, 1, 4 ], [11, 22, 33 ] ] )
print (a.size ) निम्नलिखित कोड का परिणाम क्या है ?
What is the output of the following code ?
import numpy as np
a = np.array( [ 1, 2, 3, 4, 8 ] )
b = np.array( [ 0, 3, 4, 2, 1 ] )
c = b*a
c = c + b
print (c[ 1 ]) निम्नलिखित कोड का परिणाम क्या है ?
What is the output of following code ?
import numpy as np
a = np.array([[1,2,3],[4,5,6]])
print(a.shape) निम्नलिखित कोड का परिणाम क्या है ?
What will be output for the following code ?
import numpy as np
ary = np.array( [1, 2, 3, 5, 8 ] )
ary = ary + 1
print (ary [1] ) x का डेटाटाइप क्या है?
What is the datatype of x ?
import numpy as np
a = np.array( [1, 2, 3, 4 ] )
x = a.tolist() NumPy पैकेज में eye( ) फ़ंक्शन क्या लौटाता है?
What does the eye( ) function in the NumPy package return ?
निम्नलिखित कोड के लिए आउटपुट क्या होगा?
What will be output for the following code ?
import numpy as np
a = np.array([[1,2,3],[0,1,4]])
print (a.size) निम्नलिखित कोड के लिए आउटपुट क्या होगा?
What is the output of the following code ?
import numpy as np
a = np.array([1,2,3])
print(a.ndim) निम्नलिखित कोड के लिए आउटपुट क्या होगा?
What will be output for the following code ?
import numpy as np
a = np.array([[[1,2,3,5,8]]])
print (a.ndim) Correct Answer: C) 2
निम्नलिखित कोड के लिए आउटपुट क्या होगा?
What will be output for the following code ?
import numpy as np
a = np.array( [2, 3, 4, 5] )
print(a.dtype) Correct Answer: B) int64
x का डेटाटाइप क्या है
What is the datatype of x
import numpy as np
a=np.array([1,2,3,4])
x= a.tolist() NumPy ऐरे की विशेषताएँ क्या हैं
What are the attributes of NumPy array
NumPy किसके द्वारा विकसित किया गया है
NumPy developed by
Correct Answer: B) Travis Oliphant
NumPy में reshape() फ़ंक्शन का उद्देश्य क्या है
What is the purpose of the reshape() function in NumPy