handling missing data Flashcards

1
Q

Drop rows with any column having NA/null data.

A

df.dropna()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Replace all NA/null data with value.

A

df.fillna(value)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly