Data Science Practice Test
Data Science Data Cleaning and Preparation 4
In pandas, df['col'].fillna(method='ffill') does what?
Select your answer
A
Fills missing values with the previous valid value
B
Fills with the column mean
C
Drops missing rows
D
Fills with zero
Hint
✨ Remove Ads & Unlock Every Exam
— From $1.49
🃏 Study This Quiz as Flashcards →