Pandas and Matplotlib Quiz

Pandas and Matplotlib Quiz

12th Grade

12 Qs

quiz-placeholder

Similar activities

Dadakan quiz 1

Dadakan quiz 1

12th Grade

10 Qs

pandas

pandas

9th Grade - University

8 Qs

Python Charts - Line chart

Python Charts - Line chart

12th Grade

8 Qs

Pyplot

Pyplot

12th Grade

15 Qs

Test#1

Test#1

12th Grade

10 Qs

A3 IIIB - Básicas de EDA

A3 IIIB - Básicas de EDA

11th Grade - University

10 Qs

Python Pandas (ai gen)

Python Pandas (ai gen)

12th Grade

10 Qs

Python Pandas

Python Pandas

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?