
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
RAID Storage

Quiz
•
University
23 questions
Java Array

Quiz
•
University
20 questions
Exploring Data Science with Python

Quiz
•
University
21 questions
3°D_SAV2_R2 3TECBE_ Algoritmos Estruturas Dados_17_36 QUIZIZZ

Quiz
•
11th Grade - University
20 questions
PHP First Internal Practical Viva

Quiz
•
University
25 questions
PHP + MySQL

Quiz
•
7th Grade - University
20 questions
Collections C#

Quiz
•
University
27 questions
Python3_big_test

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University