Kursinnhold
Predict rain in Australia
Predict rain in Australia
Should we drop NaNs?
Oppgave
Swipe to start coding
- Drop each row if it contains at least one
NaN
dromdf
. Don't intialize thedf
data frame with the result (we need origindf
with NaNs in the future). - Find the ratio of columns at the origin data frame
df
and the data frame after dropNaNs
. - Print this ratio
Løsning
Mark tasks as Completed
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 2
AVAILABLE TO ULTIMATE ONLY