Skip to content

n-array versions of set operations, especially intersect1d #5179

@cbrueffer

Description

@cbrueffer

The stock Python set operations support multiple inputs, while the Numpy equivalents only support two arrays.

A version of intersect1d supporting n arrays was posted to numpy-discussion back in 2009: http://numpy-discussion.10968.n7.nabble.com/intersect1d-for-N-input-arrays-td25956.html

The posted multi-array version works well for me, it would be great to see it (or a variant) in Numpy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions