
Python Pandas/MatPlotLib
Authored by Brian Akwirry
Computers
12th Grade
Used 16+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What does df.groupby('column_name').mean() do in Pandas?
Groups the DataFrame by 'column_name' and calculates the mean of all columns
Finds the mean value of 'column_name'
Splits the DataFrame into groups based on 'column_name' and calculates the mean of each group
Sorts 'column_name' in ascending order
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
In Pandas, how do you select the rows where the column 'age' is greater than 25?
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
How would you save a plot as a PNG file in Matplotlib?
4.
MULTIPLE CHOICE QUESTION
2 mins • 2 pts
In Pandas, what does df.isnull().sum() return?
The sum of all values in the DataFrame
The total number of missing values in each column
A boolean value indicating if there are any null values
The sum of non-null values in the DataFrame
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
In Matplotlib, how do you set the title of a plot?
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
How can you create a new column in a DataFrame in Pandas?
df['new_column'] = value
df.add('new_column', value)
df.new_column(value)
df.insert('new_column', value)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Растровая и Векторная графика
Quiz
•
7th - 12th Grade
10 questions
Digital Art Terms
Quiz
•
9th - 12th Grade
13 questions
Functions, Formulas, and Tables Quiz
Quiz
•
12th Grade
10 questions
Pengenalan Canva
Quiz
•
12th Grade
10 questions
Computer Graphics
Quiz
•
12th Grade
13 questions
hexadecimal binary decimal
Quiz
•
10th - 12th Grade
10 questions
Database
Quiz
•
8th - 12th Grade
10 questions
File handling
Quiz
•
12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade