
Pandas Proficiency Quiz for Students

Quiz
•
Computers
•
12th Grade
•
Medium

Dinika Paramalingam
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a DataFrame in pandas?
A one-dimensional array with axis labels
A two-dimensional, size-mutable, potentially heterogeneous tabular data structure
A three-dimensional array with fixed size
A single value container
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to read a CSV file into a pandas DataFrame?
read_excel()
read_json()
read_csv()
read_html()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you select a column named 'Age' from a DataFrame `df`?
df['Age']
df.Age()
df.select('Age')
df.get('Age')
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to remove missing values from a DataFrame?
fillna()
dropna()
replace()
isnull()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the `head()` method do in pandas?
Returns the last 5 rows of a DataFrame
Returns the first 5 rows of a DataFrame
Returns a summary of the DataFrame
Returns the column names of a DataFrame
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you add a new column 'Height' to a DataFrame `df` with all values set to 170?
df['Height'] = 170
df.add_column('Height', 170)
df.insert('Height', 170)
df.append('Height', 170)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to plot a histogram of a DataFrame column?
plot.hist()
hist.plot()
plot.bar()
plot.line()
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
csv and DataFrame

Quiz
•
12th Grade
10 questions
DATAFRAME AND SERIES

Quiz
•
12th Grade
20 questions
Season 5 #Spaic Python Weekly Quiz

Quiz
•
KG - Professional Dev...
15 questions
Practice Class 12 Pandas

Quiz
•
12th Grade
10 questions
Class-XII_IP_Revision-3

Quiz
•
12th Grade
20 questions
Sjmit-Q2-[Workshop-MAR-25]

Quiz
•
12th Grade - University
10 questions
DS 3

Quiz
•
12th Grade
18 questions
Python Pandas-Series

Quiz
•
12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade