
Data Cleaning and Preparation Flashcard

Flashcard
•
•
Hard
Quizizz Content
FREE Resource
Student preview

11 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of the following is NOT a part of data cleaning? Handling missing values, Removing duplicates, Correcting inconsistent data
Back
Applying machine learning algorithms
2.
FLASHCARD QUESTION
Front
What is the main disadvantage of dropping rows with missing values?
Back
It reduces the size of the dataset, potentially leading to data loss
3.
FLASHCARD QUESTION
Front
Which of the following methods is best suited for handling categorical variables with many unique values? Label encoding, One-hot encoding, Frequency encoding, Min-max normalization
Back
Frequency encoding
4.
FLASHCARD QUESTION
Front
Why is feature scaling important in data preparation?
Back
It ensures that numerical features contribute equally to distance-based models
5.
FLASHCARD QUESTION
Front
If a dataset has a column with typos such as ["Male", "male", "M", "FEMALE", "female", "F"], which data cleaning technique should be applied?
Back
Convert all values to lowercase and map variations to standard categories
6.
FLASHCARD QUESTION
Front
Given the following DataFrame, how do you replace all missing values in the "Age" column with the median value? Options: df['Age'].fillna(df['Age'].mean(), inplace=True), df['Age'].fillna(df['Age'].median(), inplace=True), df['Age'].replace(np.nan, 0, inplace=True), df.dropna(subset=['Age'], inplace=True)
Back
df['Age'].fillna(df['Age'].median(), inplace=True)
7.
FLASHCARD QUESTION
Front
How can you remove duplicate rows from a DataFrame while keeping only the last occurrence?
Back
df.drop_duplicates(keep='last', inplace=True)
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
1st June_Reading Comprehension Questions

Flashcard
•
2nd - 6th Grade
9 questions
Flashcard on 'Eleven' by Sandra Cisneros

Flashcard
•
6th Grade
8 questions
12/09 BW Intro

Flashcard
•
9th - 12th Grade
10 questions
AP Psychology Memory-1

Flashcard
•
10th - 12th Grade
9 questions
WIDA ACCESS Reading Practice: Language of Math

Flashcard
•
6th - 8th Grade
7 questions
MWH Semester 1 Final 2024

Flashcard
•
9th Grade
8 questions
Variables Warm up Code.org CSP Unit 4

Flashcard
•
9th Grade
8 questions
Variables Warm up Code.org CSP Unit 4

Flashcard
•
9th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade
Discover more resources for
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade