Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Checking for Missing Values | Preprocessing Data
Advanced Techniques in pandas

bookChecking for Missing Values

I'm happy to see you in the last section of the course. Here, you will process data on the passengers of the Titanic. First, let's examine it:

The first step of our learning is finding missing values. By the way, sometimes it is difficult or even impossible to fill all the values of the column; some of them may be missing. Such cases can spoil your result. In the dataset, they always look like this: NaN. First, let's find out if your data set contains missing values.

Pandas has two functions you can apply to the dataset to find missing values. Both of them will put False if the dataset values aren't missing, and True otherwise.

data.isna()
# Or
data.isnull()
question mark

Please select the INCORRECT ways of checking for missing values.

Select the correct answer

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 5. Kapitel 1

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

Awesome!

Completion rate improved to 3.03

bookChecking for Missing Values

Stryg for at vise menuen

I'm happy to see you in the last section of the course. Here, you will process data on the passengers of the Titanic. First, let's examine it:

The first step of our learning is finding missing values. By the way, sometimes it is difficult or even impossible to fill all the values of the column; some of them may be missing. Such cases can spoil your result. In the dataset, they always look like this: NaN. First, let's find out if your data set contains missing values.

Pandas has two functions you can apply to the dataset to find missing values. Both of them will put False if the dataset values aren't missing, and True otherwise.

data.isna()
# Or
data.isnull()
question mark

Please select the INCORRECT ways of checking for missing values.

Select the correct answer

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 5. Kapitel 1
some-alt