Skip to content

pd.isnull

pandas.isnull(obj)

Supported Arguments

argument datatypes
obj DataFrame, Series, Index, Array, or Scalar

Example Usage

>>> @bodo.jit
... def f(df):
...     return pd.isnull(df)

>>> df = pd.DataFrame(
...    {"A": ["AA", np.nan, "", "D", "GG"], "B": [1, 8, 4, -1, 2]},
...    [1.1, -2.1, 7.1, 0.1, 3.1],
... )
>>> f(df)

       A      B
1.1  False  False
-2.1   True  False
7.1  False  False
0.1  False  False
3.1  False  False