Give the output of the following code:
>>>import pandas as pd
>>>dict1 = {'AR' : 100, 'VR' : 200, 'AI' : 300}
>>>ser = pd.Series(dict1)
>>>print(ser[1])
SERIES1 VKL
Quiz
•
Computers
•
12th Grade
•
Medium
Vaishali Lamba
Used 10+ times
FREE Resource
23 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Give the output of the following code:
>>>import pandas as pd
>>>dict1 = {'AR' : 100, 'VR' : 200, 'AI' : 300}
>>>ser = pd.Series(dict1)
>>>print(ser[1])
AR
100
VR
200
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print(ser[2,4])
print(ser[[2:4]])
print(ser[[2,4]])
print(ser[2,3,4])
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print(ser[[1,3]])
print(ser[1:3])
print(ser[[1:3]])
print(ser[1,3])
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the print statement to display the elements of a series series1 from end till beginning in step 2?
print(series1[::-2])
print(series1[::2])
print(series1[:-2:])
print(series1[:2:])
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is true for series.
Size is mutable,Values is mutable
size is immutable,values is mutable
size is mutable,values is immutable.
none
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Series in Pandas is
1 Dimensional Array
2 Dimensional array
3 Dimensional array
none of above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Series.tail(3) will return how many values.
3 values from front
3 values from last
5 values
none
20 questions
Analisis Data dengan Excel dan Google Colab
Quiz
•
10th Grade - University
20 questions
uCertity SDA Lesson 2 Quiz
Quiz
•
8th - 12th Grade
18 questions
Python Pandas-Series
Quiz
•
12th Grade
20 questions
Python_Seires_Quiz_19.07.2023
Quiz
•
12th Grade
20 questions
DataFrames in pandas Set1
Quiz
•
12th Grade
21 questions
dataframe
Quiz
•
12th Grade
20 questions
Python variables and operators quiz
Quiz
•
9th - 12th Grade
20 questions
Exploring Dataframes and Matplotlib - Grade XII
Quiz
•
12th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz
Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set
Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025
Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)
Quiz
•
9th - 12th Grade
15 questions
June Review Quiz
Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles
Quiz
•
8th Grade
25 questions
Triangle Inequalities
Quiz
•
10th - 12th Grade
40 questions
Week 4 Student In Class Practice Set
Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025
Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)
Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities
Quiz
•
10th - 12th Grade
65 questions
MegaQuiz v2 2025
Quiz
•
9th - 12th Grade
10 questions
GPA Lesson
Lesson
•
9th - 12th Grade
15 questions
SMART Goals
Quiz
•
8th - 12th Grade
45 questions
Week 3.5 Review: Set 1
Quiz
•
9th - 12th Grade