
Pandas, NumPy, and Matplotlib Basics Quiz

Quiz
•
Computers
•
University
•
Medium
Abdullah Muhammad 201-801-271
Used 2+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
FDA FINAL QUIZ

Quiz
•
University
27 questions
Python3_big_test

Quiz
•
University
20 questions
kuis pertama

Quiz
•
University
20 questions
Season 5 #Spaic Python Weekly Quiz

Quiz
•
KG - Professional Dev...
20 questions
Data Science (Data Preparation & Visualitation)/Pandas Python

Quiz
•
University
20 questions
Sjmit-Q2-[Workshop-MAR-25]

Quiz
•
12th Grade - University
25 questions
Workshop Quiz

Quiz
•
University
20 questions
GirlsWhoML Workshop 0

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade