Correct syntax of the reshape() function in Numpy array python is
array.reshape(shape)
reshape(shape,array)
reshape(array,shape)
reshape(shape)
Which of the following find the maximum number in the Numpy array ?
max(array)
array.max()
array(max)
None of the above
How we can change the shape of the Numpy array in python?
By Shape()
By reshape()
By ord()
By change()
How we can convert the Numpy array to the list in python?
list(array)
list.array
array.list
How we can find the type of numpy array in python ?
dtype
type
typei
itype
How we install Numpy in the system ?
install numpy
pip install python numpy
pip install numpy
pip install numpy python
It is possible to convert the Numpy array to list in python ?
Yes
No
Sometimes
Minimum number of argument to pass in full() function in Numpy array ?
0
1
2
3
Numpy in the Python provides the
Function
Lambda function
Type casting
Array
Numpy.array(list), what it does ?
It convert array to list
It convert list to array
It convert array to array
Error
Shape() function in Numpy array is used to
Find the shape of the array
Change the shape of the array
Both of the above
What is the use of the size attribute in Numpy array in python ?
It find the direction
It find the number of items
It find the shape
All of the above
what is the use of the zeros() function in Numpy array in python ?
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
What gets printed? import numpy as np ary=np.array([1,2,3,5,8]) ary=ary+1 print(ary[1])
4
Which of the following is correct way to import the Numpy module in your program ?
import numpy
import numpy as np
from numpy import *