Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Dropping Null Values | Analyzing the Data
Pandas First Steps

Dropping Null ValuesDropping Null Values

If our dataset has rows with null values, we should consider removing them. In pandas, this can be achieved using the dropna() function.

Let's give it a try.

Task

You need to eliminate rows containing empty cells. To achieve this, use the dropna() function.

Everything was clear?

Section 3. Chapter 8
toggle bottom row
course content

Course Content

Pandas First Steps

Dropping Null ValuesDropping Null Values

If our dataset has rows with null values, we should consider removing them. In pandas, this can be achieved using the dropna() function.

Let's give it a try.

Task

You need to eliminate rows containing empty cells. To achieve this, use the dropna() function.

Everything was clear?

Section 3. Chapter 8
toggle bottom row
some-alt