MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Computer Science
Django
Quiz 1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Q.1
Minimum number of argument we require to pass in pandas series ?
0
1
2
3
Q.2
What are request.GET and request.POST objects?
Python Dictionaries
Python Lists
Python Dictionary-Like objects
None of the above
Q.3
Which of these commands are used to print the SQL query of the model?
migrate
makemigrations
sqlmigrations
showmigration
Q.4
Best way to import the pandas module in your program ?
import pandas
import pandas as p
Both A & B
none of abode
Q.5
Python is not a case sensitive language
True
False
Q.6
What is the use of the zeros() function in Numpy array in python ?
To make a Matrix with all diagonal element 0
To make a Matrix with first row 0
To make a Matrix with all element 0
None of the above
Q.7
How we install Numpy in the system ?
install numpy
pip install python numpy
!pip install numpy
pip install numpy python
Q.8
Numpy.array(list), what it does ?
It convert array to list
It convert list to array
It convert array to array
Error
Q.9
Shape() function in Numpy array is used to
Find the shape of the array
Change the shape of the array
Display elements
None of these
Q.10
What is the use of the size attribute in Numpy array in python ?
It find the direction
It find the shape
It find the number of items
All of the above
Q.11
How we can find the type of numpy array in python ?
type
typei
dtype
itype
Q.12
How we can convert the list to Numpy array in python?
list(array)
list.array
array.list
np.array(list)
Q.13
Way to install the pandas library ?
install pandas
pandas install python
python install pandas
!pip install pandas
Q.14
DataFrame in pandas is
1 dimensional
2 dimensional
3 dimensional
4 dimensional
Q.15
How we can change the shape of the Numpy array in python?
By Shape()
By reshape()
By ord()
By change()
Q.16
What will be output for the following code?import pandas as pdimport numpy as nps = pd.Series(np.array([10,20,30]))print(s.ndim)
0
1
2
3
Q.17
If data is an ndarray, index must be the same length as data.
True
False
Q.18
Which of the following thing can be data in Pandas?
a python dictionary
an ndarray
list
all of these
Q.19
Series is a one-dimensional labeled array capable of holding any data type.
True
False
Q.20
Pandas is an open-source _______ Library?
Ruby
Javascript
Java
Python
0 h : 0 m : 1 s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)
Support mcqgeeks.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page