Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • The issue with this approach is that it finds elements within the arrays that are the same. I am interested in which arrays are the same i.e all elements within the array are exactly the same, not just one element. Commented Sep 25, 2016 at 3:39
  • You are absolutely right. I believe that this answer shows how to use intersect1d in the way that you need. I will update the answer with a link as well. Commented Sep 25, 2016 at 14:40