Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ENH: ndarray.isin #20092

Closed as not planned
Closed as not planned
@MaxGhenis

Description

@MaxGhenis

Proposed new feature or change:

numpy.isin is equivalent to pandas.{Series,DataFrame}.isin. Adding numpy.ndarray.isin would produce consistency with pandas and save 4 characters:

np.isin(x, y)  # Current
x.isin(y)      # Proposed

I've posted this idea to the forum here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions