pandas.isna

pandas 3.1.1 · General functions · function

Identify missing values. The result is a boolean for a scalar and a boolean mask for an array-like input.

Call syntax

pd.isna(obj)

Run the example

Edit the example and select Run Python to see the result.

Parameters

ParameterRequirementAccepted values and behavior
obj Required
Positional or keyword
scalar or array-like

Provide the pandas object, scalar, or array-like input described in the accepted values.

Returns

bool or array-like of bool