Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Should we drop NaNs? | Predict rain in Australia
Predict rain in Australia
course content

Kursusindhold

Predict rain in Australia

Predict rain in Australia

book
Should we drop NaNs?

Opgave

Swipe to start coding

  1. Drop each row if it contains at least one NaN drom df. Don't intialize the df data frame with the result (we need origin df with NaNs in the future).
  2. Find the ratio of columns at the origin data frame df and the data frame after drop NaNs.
  3. Print this ratio

Løsning

Mark tasks as Completed
Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 2
AVAILABLE TO ULTIMATE ONLY
Vi beklager, at noget gik galt. Hvad skete der?
some-alt