Data Science Practice Test
Data Science Data Cleaning and Preparation 2
In pandas, what does df.dropna(thresh=3) do?
Select your answer
A
Drops rows that have fewer than 3 non-null values
B
Drops the first 3 rows with any NaN
C
Drops columns with more than 3 NaN values
D
Replaces NaN with the value 3
Hint
✨ Remove Ads & Unlock Every Exam
— From $1.49
🃏 Study This Quiz as Flashcards →