handling missing data Flashcards
1
Q
Drop rows with any column having NA/null data.
A
df.dropna()
2
Q
Replace all NA/null data with value.
A
df.fillna(value)
Pandas > handling missing data > Flashcards
Drop rows with any column having NA/null data.
df.dropna()
Replace all NA/null data with value.
df.fillna(value)