Pandas, NumPy, and Matplotlib Basics Quiz

Pandas, NumPy, and Matplotlib Basics Quiz

University

25 Qs

quiz-placeholder

Similar activities

Quiz No. 3 (Finals)

Quiz No. 3 (Finals)

University

20 Qs

Quiz Struktur Data

Quiz Struktur Data

9th Grade - University

20 Qs

CHAPTER 3 : STACK

CHAPTER 3 : STACK

University

20 Qs

Warstwa Sieciowa

Warstwa Sieciowa

University

20 Qs

Spreadsheets

Spreadsheets

8th Grade - University

20 Qs

Sử dụng Word (51 - 70)

Sử dụng Word (51 - 70)

University

20 Qs

Web Technologies(A6602)

Web Technologies(A6602)

University

20 Qs

Endterm Exercise #5

Endterm Exercise #5

University

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?