Pandas, NumPy, and Matplotlib Basics Quiz

Pandas, NumPy, and Matplotlib Basics Quiz

University

25 Qs

quiz-placeholder

Similar activities

DBMS Quiz

DBMS Quiz

University

20 Qs

DASAR PEMROGRAMAN 1

DASAR PEMROGRAMAN 1

University

20 Qs

Kuis Pemrograman Dasar

Kuis Pemrograman Dasar

University

20 Qs

Machine Learning

Machine Learning

University

20 Qs

Queues

Queues

University

20 Qs

PHP & MySQL - parte 1

PHP & MySQL - parte 1

9th Grade - Professional Development

20 Qs

Unit1-2nd Half

Unit1-2nd Half

University

20 Qs

Excel Formula

Excel Formula

4th Grade - Professional Development

20 Qs

Pandas, NumPy, and Matplotlib Basics Quiz

Pandas, NumPy, and Matplotlib Basics Quiz

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Abdullah Muhammad 201-801-271

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the primary data structure in Pandas?

List

DataFrame

Array

Series

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the pandas.read_csv() function do?

Writes data to a CSV file

Reads data from a CSV file

Converts a CSV file into a NumPy array

Plots data from a CSV file

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you select a single column from a DataFrame in Pandas?

df.column_name

df[column_name]

df['column_name']

df(column_name)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to remove missing values in a Pandas DataFrame?

dropna()

fillna()

replace()

drop()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to display the first few rows of a DataFrame?

df.head()

df.tail()

df.first()

df.sample()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you apply a function to each element in a DataFrame column?

df['column'].apply(function)

df['column'].map(function)

df['column'].filter(function)

df['column'].reduce(function)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the groupby() function do in Pandas?

Sorts the DataFrame by the specified column

Groups the DataFrame by the specified column and aggregates data

Filters rows based on a condition

Combines multiple DataFrames into one

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?