[Numpy-discussion] Array mapping question
Tue Mar 16 08:42:01 CDT 2010
On Tue, Mar 16, 2010 at 9:33 AM, Jorge Scandaliaris
> <josef.pktd <at> gmail.com> writes:
>> If I understand correctly, then you want return_inverse (the original
>> array recoded to using integers 0...len(ctab)-1
> Right, thanks! I didn't see this cause I use numpy 1.3, where this is
> not available.
If I remember correctly it was unique1d in numpy 1.3 that had the
Check the functions in arraysetops for numpy 1.3.
unique1d is in my help file for numpy 1.2 (which was the fastest for
me to look up)
> NumPy-Discussion mailing list
More information about the NumPy-Discussion