liveBook · Manning

Is_na

Also called isna

is_na is an operation that identifies values representing missing or null data and returns corresponding missingness indicators.

How 2 Manning books explain it

Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI

The pandas isna method identifies values that represent missing data.

How it is used
Uses pandas isna during tabular-data examination to identify missing feature samples and quantify missingness by column.
How deep it goes
Explains boolean detection and counting with sum, then stops short of implementing imputation or missingness indicators.
Examples
Demonstrates column-wise counts on the Auto MPG dataset, finding eight missing mpg values and six missing horsepower values.
What you can do after
Diagnose/debug with it, count missing samples by feature, and decide whether missingness needs indicators or imputation.

Read how Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI explains is_na →

Grokking Machine Learning

is_na is a Pandas operation that identifies missing or null entries in a data structure.

How it is used
Uses missing-value counts to decide whether dataset columns should be removed or repaired.
How deep it goes
Defines the binary result and demonstrates summing it by column, then stops at downstream cleaning choices.
Examples
Uses Titanic columns including Age, Cabin, and Embarked to illustrate missing-value counts and repairs.
What you can do after
Apply it via Pandas to count missing entries and select column-dropping or value-filling actions.

Read how Grokking Machine Learning explains is_na →

Also covered in

What to know first

Related concepts

Questions about is_na

What is is_na?

is_na is an operation that identifies values representing missing or null data and returns corresponding missingness indicators.

Which Manning books explain is_na?

Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI and Grokking Machine Learning.

What should I know before learning is_na?

Manning books that teach is_na usually introduce median and data frame first.

What is is_na part of?

Is_na is part of pandas. pandas is an open-source Python library providing labeled data structures and tools for manipulating and analyzing tabular and other structured data.

What is is_na also called?

Is_na is also called isna.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.