Pandas and Matplotlib Quiz

Pandas and Matplotlib Quiz

12th Grade

12 Qs

quiz-placeholder

Similar activities

Pandas Series-1–Quiz

Pandas Series-1–Quiz

11th - 12th Grade

11 Qs

Python study group: Week 3

Python study group: Week 3

12th Grade

15 Qs

Test on dataframe python

Test on dataframe python

11th - 12th Grade

16 Qs

12 CS Lesson-16

12 CS Lesson-16

12th Grade

10 Qs

Data Visualization Quiz

Data Visualization Quiz

9th - 12th Grade

13 Qs

Histogram

Histogram

11th - 12th Grade

16 Qs

Python Pandas

Python Pandas

12th Grade

10 Qs

Data Visualization Assessment

Data Visualization Assessment

7th - 12th Grade

15 Qs

Pandas and Matplotlib Quiz

Pandas and Matplotlib Quiz

Assessment

Quiz

Computers

12th Grade

Easy

Created by

Dinika Paramalingam

Used 3+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a DataFrame in Pandas?

A two-dimensional, size-mutable, potentially heterogeneous tabular data structure with labelled axes (rows and columns).

A one-dimensional array with axis labels.

A three-dimensional array for storing data.

A simple list of values.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a method to remove missing values in a Pandas DataFrame?

fillna()

dropna()

replace()

interpolate()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you plot a line graph using Matplotlib?

plt.scatter()

plt.bar()

plt.plot()

plt.hist()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function in Pandas is used to calculate the mean of a DataFrame column?

mean()

average()

sum()

median()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'groupby' function in Pandas?

To sort the DataFrame.

To group data based on some criteria.

To merge two DataFrames.

To filter data based on a condition.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid way to import the Matplotlib library in Python?

import matplotlib.pyplot as plt

import matplotlib as plt

import matplotlib.pyplot

import plt.matplotlib

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'describe()' function in Pandas provide?

A summary of statistics for numerical columns.

A list of all column names.

A count of all unique values in a column.

A plot of the data.

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?