Skip to content

isnull returns a boolean for array-like inputs #1755

@jseabold

Description

@jseabold

In numpy

>>> np.isnan([[False]])
array([[False]], dtype=bool)

In pandas

>>> pandas.isnull([[False]])                                                  
False

>>> pandas.isnull([[1],[2]])
False

I would expect these to return arrays for array-like input. Is there any reason not to?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions