<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 > > Josef Right, thanks! I didn't see this cause I use numpy 1.3, where this is not available. Jorge