Dropping 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?
Course Content
Pandas First Steps
Pandas First Steps
2. Reading Files in Pandas
3. Analyzing the Data
Dropping 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?