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
course content

Kursusindhold

Advanced Techniques in pandas

Advanced Techniques in pandas

1. Getting Familiar With Indexing and Selecting Data
2. Dealing With Conditions
3. Extracting Data
4. Aggregating Data
5. Preprocessing Data

book
Checking 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.

python
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
Vi beklager, at noget gik galt. Hvad skete der?
some-alt