pandas.notnull

pandas.notnull(obj)[source]

Replacement for numpy.isfinite / -numpy.isnan which is suitable for use on object arrays.

Parameters:

arr : ndarray or object value

Object to check for not-null-ness

Returns:

notisna : array-like of bool or bool

Array or bool indicating whether an object is not null or if an array is given which of the element is not null.

See also

pandas.isna
boolean inverse of pandas.notna
pandas.notnull
alias of notna
Scroll To Top