Pandas Proficiency Quiz for Students

Pandas Proficiency Quiz for Students

12th Grade

15 Qs

quiz-placeholder

Similar activities

DataFrame in Pandas

DataFrame in Pandas

11th - 12th Grade

20 Qs

Dataframe

Dataframe

12th Grade

12 Qs

Pandas- CSV file

Pandas- CSV file

12th Grade

12 Qs

Data Science 2

Data Science 2

12th Grade

10 Qs

Excel - Lesson 12: Charts

Excel - Lesson 12: Charts

9th - 12th Grade

20 Qs

MS Excel Basics

MS Excel Basics

5th Grade - Professional Development

20 Qs

Database Fundamentals

Database Fundamentals

KG - University

10 Qs

Access 2013 Lesson 1

Access 2013 Lesson 1

9th - 12th Grade

15 Qs

Pandas Proficiency Quiz for Students

Pandas Proficiency Quiz for Students

Assessment

Quiz

Computers

12th Grade

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?