in1d for structure arrays
![](https://secure.gravatar.com/avatar/cd22a6eabbe146d2ef0c510173f5a8a4.jpg?s=120&d=mm&r=g)
Oct. 19, 2010
3:45 p.m.
Hi, I noticed that the recent numpy (1.5) implements the function in1d in set operations. Unfortunately this doesn't seem to work for structure arrays because "mergesort" isn't implemented for structure arrays. I was able to implement a quick work-around simply by adding a structure field to keep track of which list the data came from and then making this field the lowest priority in the sort. Is this worth creating a ticket for? (I don't have trac privileges to do so) Jeremy Jeremy Lewi Engineering Scientist The Intellisis Corporation jlewi@intellisis.com
5232
Age (days ago)
5232
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jeremy Lewi