Contenu du cours
Predict rain in Australia
Predict rain in Australia
Should we drop NaNs?
Tâche
Swipe to start coding
- Drop each row if it contains at least one
NaNdromdf. Don't intialize thedfdata frame with the result (we need origindfwith NaNs in the future). - Find the ratio of columns at the origin data frame
dfand the data frame after dropNaNs. - Print this ratio
Solution
Mark tasks as Completed
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 2
AVAILABLE TO ULTIMATE ONLY