Pandas and Matplotlib Quiz

Pandas and Matplotlib Quiz

12th Grade

12 Qs

quiz-placeholder

Similar activities

A2 IB - Introducción a Data Science

A2 IB - Introducción a Data Science

11th Grade - University

10 Qs

XII Chapter 16

XII Chapter 16

12th Grade

10 Qs

Python Pandas

Python Pandas

11th - 12th Grade

10 Qs

Mastering Class : Data Analysis using Spreadsheet and GDS

Mastering Class : Data Analysis using Spreadsheet and GDS

1st - 12th Grade

8 Qs

Ciência de Dados - Importando dados

Ciência de Dados - Importando dados

12th Grade

10 Qs

Dataframe

Dataframe

10th - 12th Grade

12 Qs

untitled

untitled

12th Grade - University

13 Qs

Python Panda 2

Python Panda 2

11th Grade - Professional Development

10 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?