
CLASS_XII_SERIES_MCQ
Authored by Vikas Sharma
Computers
12th Grade
Used 18+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
To create an empty Series object, you can use:
pd.Series(empty)
pd.Series( )
pd.Series(np.NaN)
all of these
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To get the number of elements in a Series object, attribute may be used
index
size
itemsize
ndim
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
To specify datatype int16 for a Series object, you can write :
pd.Series(data = array, dtype = int16)
pd.Series(data = array, dtype = numpy.int16)
pd.Series(data = array.dtype pandas.int16)
pd.Series(data = array.dtype pandas.int16)
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
. To get the number of dimensions of a Series object,
index
size attribute is displayed.
itemsize
ndim
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
To get the size of the datatype of the items in Series object, you can display attribute.
index
size
itemsize
ndim
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
To get the number of elements in a Series object, attribute may be used.
index
size
itemsize
ndim
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
To display third element of a Series object S, you will write
S[:3]
S[02]
S[2]
S[:2]
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?