Course Content
Predict rain in Australia
Predict rain in Australia
Should we drop NaNs?
Task
- 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
Mark tasks as Completed
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?
Thanks for your feedback!
Task
- 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
Mark tasks as Completed
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Section 1. Chapter 2
AVAILABLE TO ULTIMATE ONLY