Skip to content

Expose isnull and notnull as methods #203

Closed
@takluyver

Description

@takluyver

Feature suggestion:

I was using hackish solutions to select rows where a particular column is empty/non-empty, because I didn't know about isnull and notnull. I think these should be exposed as methods, particularly of Series (i.e. columns), so they're readily discoverable via tab completion.

Example use:

selection = df[df['col'].notnull()]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions