
Python_Seires_Quiz_19.07.2023

Quiz
•
Computers
•
12th Grade
•
Hard
Vikas Sharma
Used 5+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Write the output of the following:
import pandas as pd
S1 = pd.Series(data = range(31, 2, -6), index = [x for x in "aeiou" ])
print(S1)
a 31
e 25
i 19
o 13
u 7
dtype: int64
a 31
e 25
i 19
o 13
dtype: int64
Error
None of the above
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
When we create a series from dictionary then the keys of dictionary become ________________
Index of the series
Value of the series
Caption of the series
None of the series
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Write the output of the following :
>>> S1=pd.Series(14, index = ['a', 'b', 'c'])
>>> print(S1)
a 14
b 14
c 14
dtype: int64
a 14
dtype: int64
Error
None of the above
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Write the output of the following:
>>> S1=pd.Series(14, 7, index = ['a', 'b', 'c'])
>>> print(S1)
a 14
b 7
c 7
dtype: int64
a 14
b 7
dtype: int64
Error
None of the above
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Write the output of the following :
>>> S1=pd.Series([14, 7, 9] ,index = range(1, 8, 3))
>>> print(S1)
14 1
7 4
9 7
dtype: int64
1 14
4 7
7 9
dtype: int64
Error
None of the above
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How many elements will be there in the series named “S1”?
>>> S1 = pd.Series(range(5))
>>> print(S1)
5
4
2
None of the above
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Fill in the blank to get the output as 3
import pandas as pnd
S1=pnd.Series([1,2,3,4], index = ['a','b','c','d'])
print(S1[___________])
‘c’
2
c
All of the above
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Cisco 2, Module 11

Quiz
•
12th Grade
20 questions
Quiz suka-suka 14

Quiz
•
12th Grade
20 questions
5.8 Excel

Quiz
•
8th - 12th Grade
20 questions
pyplot in python class 12 (14/08/20)

Quiz
•
12th Grade
21 questions
Unit1_Pandas&Visualization

Quiz
•
12th Grade
23 questions
HKDSE 資訊及通訊科技科 試算表及數據庫

Quiz
•
10th - 12th Grade
15 questions
GENERAL KNOWLEDGE

Quiz
•
9th Grade - University
20 questions
RIGGING

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade