Dataframe

Quiz
•
Computers
•
10th - 12th Grade
•
Medium

Suman Joshi
Used 156+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Full form of NaN is
Not a Null
Not a Number
Not a Numeric
None of these
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Data structures in Pandas can be mutated in the terms of ____ but not of _____.
size, value
value, size
semantic, size
none of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
pandas is a:
Data Structure
Series
Dataframe
Library
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write the output for the following:
import pandas as pd1
s = pd1.Series(5, index=[0, 1, 2, 3])
print(s)
0 5
0 5
1 5
2 5
3 5
dtype: int64
1 5
2 5
2 5
4 5
dtype: int64
0 5
1 5
2 5
3 5
dtype: object
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
write the output:
import pandas as pd1
s = pd1.Series([1,2,3])
t = pd1.Series([1,2,4])
u=s-t
print (u)
0 1
1 0
2 1
dtype: int64
0 0
1 0
2 1
dtype: int64
0 0
1 0
2 -1
dtype: float64
0 0
1 0
2 -1
dtype: int64
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
write the output:
import pandas as pd
s=pd.Series([1,2,3,4],index=['a','b','c','d'])
print(s.iloc[2:4])
b 2
c 3
d 4
dtype: int64
b 3
c 4
dtype: int64
c 3
d 4
dtype: int64
none of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
write the output:
import pandas as pd
s=pd.Series([1,2,3,4],index=['a','b','c','d'])
print(s.loc['b':'d'])
b 2
c 3
d 4
dtype: float64
b 2
c 3
d 4
dtype: object
c 3
d 4
dtype: int64
b 2
c 3
d 4
dtype: int64
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
Intro to a level computer science

Quiz
•
11th Grade
14 questions
Identifying Data

Quiz
•
11th Grade
15 questions
Pengantar Google Colab dan Web Scraping

Quiz
•
10th Grade
10 questions
Data Handling Introduction

Quiz
•
12th Grade
10 questions
csv and DataFrame

Quiz
•
12th Grade
10 questions
DATAFRAME AND SERIES

Quiz
•
12th Grade
10 questions
AP CSP~ BigIdea 2 Data

Quiz
•
9th - 12th Grade
14 questions
Python_valoda

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

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade