EDA_DataCleaning

Quiz
•
Computers
•
University
•
Hard
Puneet Kansal
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following methods gives a quick statistical summary of Statistical columns in a DataFrame?
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which method removes all rows that contain at least one NaN value?
df.remove_na()
df.dropna()
df.clean()
df.fillna(0)
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following fills all missing values in a column with 0?
df.fillna(0)
df.dropna(0)
df.replace(0)
df.nullfill(0)
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will df.isnull().sum() return?
Boolean DataFrame
Number of nulls per row
Number of nulls per column
Total null count in the DataFrame
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How to fill missing values in column 'age' with the column’s median?
df['age'].fillna('median')
df['age'].fillna(df['age'].mean())
df['age'].fillna(df['age'].median())
df.fill_missing(df['age'])
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which command gives total number of missing values in entire DataFrame?
df.countna()
df.isnull().sum()
df.isnull().sum().sum()
df.check().na()
7.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which method forward fills missing values?
df.fillna(method='backward')
df.fillna(method='forward')
df.fillna(method='ffill')
df.ffill
()
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
DATA MINING BASICS

Quiz
•
University
25 questions
Java Quiz

Quiz
•
University
25 questions
CIW IBA Lesson 2 Vocabulary

Quiz
•
8th Grade - University
30 questions
Hunt the bug Quiz

Quiz
•
University
26 questions
Python Pandas Quiz

Quiz
•
University
25 questions
Pandas, NumPy, and Matplotlib Basics Quiz

Quiz
•
University
25 questions
Takeshi's Castle Code bingo

Quiz
•
University
26 questions
HTML Forms - CIW SDA Lesson 6

Quiz
•
9th Grade - University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade