pandas.notna

pandas 3.1.1 · General functions · function

Identify present values by inverting the isna result.

Call syntax

pd.notna(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
array-like or object value

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

Returns

bool or array-like of bool