Zusammenfassung der Ressource
Frage 1
Frage
Correct syntax of the reshape() function in Numpy array python is
Antworten
-
array.reshape(shape)
-
reshape(shape,array)
-
reshape(array,shape)
-
reshape(shape)
Frage 2
Frage
Which of the following find the maximum number in the Numpy array ?
Antworten
-
max(array)
-
array.max()
-
array(max)
-
None of the above
Frage 3
Frage
How we can change the shape of the Numpy array in python?
Antworten
-
By Shape()
-
By reshape()
-
By ord()
-
By change()
Frage 4
Frage
How we can convert the Numpy array to the list in python?
Antworten
-
list(array)
-
list.array
-
array.list
-
None of the above
Frage 5
Frage
How we can find the type of numpy array in python ?
Frage 6
Frage
How we install Numpy in the system ?
Antworten
-
install numpy
-
pip install python numpy
-
pip install numpy
-
pip install numpy python
Frage 7
Frage
It is possible to convert the Numpy array to list in python ?
Antworten
-
Yes
-
No
-
Sometimes
-
None of the above
Frage 8
Frage
Minimum number of argument to pass in full() function in Numpy array ?
Frage 9
Frage
Numpy in the Python provides the
Antworten
-
Function
-
Lambda function
-
Type casting
-
Array
Frage 10
Frage
Numpy.array(list), what it does ?
Frage 11
Frage
Shape() function in Numpy array is used to
Frage 12
Frage
What is the use of the size attribute in Numpy array in python ?
Frage 13
Frage
what is the use of the zeros() function in Numpy array in python ?
Antworten
-
To make a Matrix with all element 0
-
To make a Matrix with all diagonal element 0
-
To make a Matrix with first row 0
-
None of the above
Frage 14
Frage
What gets printed?
import numpy as np
ary=np.array([1,2,3,5,8])
ary=ary+1
print(ary[1])
Frage 15
Frage
Which of the following is correct way to import the Numpy module in your program ?
Antworten
-
import numpy
-
import numpy as np
-
from numpy import *
-
All of the above